body {
    font-family: 'Montserrat', 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    background: #f5f6fa;
    color: #222831;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
}
header {
    text-align: center;
    padding: 40px 0 10px 0;
}
.main-title {
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #222831;
    margin-bottom: 10px;
}
.sub-title {
    font-size: 2em;
    color: #bfa76a;
    margin-bottom: 20px;
}

/* 轮播图 16:9 */
.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(37,211,102,0.10);
    aspect-ratio: 16 / 9;
    background: #e0e0e0;
}
.carousel-images {
    display: flex;
    transition: transform 0.5s;
    height: 100%;
}
.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background: #e0e0e0;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.403);
    border: none;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    padding: 0 12px;
    border-radius: 50%;
    transition: background 0.2s;
}
.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }
.carousel-btn:hover { background: #f1e4c0; }

/* 公司介绍 */
.company-intro {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.15em;
    color: #444;
    line-height: 1.8em;
}

/* 产品区 */
.gallery-section {
    margin-bottom: 40px;
}
.section-title {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 32px 0 16px 0;
    color: #bfa76a;
}
.gallery-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
}
.gallery-list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(37,211,102,0.10);
    background: #e0e0e0;
    border: 2px solid #fff;
    transition: transform 0.2s;
}
.gallery-list img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(37,211,102,0.18);
}

/* 介绍文本 */
.text-section {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.1em;
    color: #444;
    line-height: 1.8em;
}

/* 品牌区 */
.brand-section {
    margin-bottom: 40px;
}
.brand-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-items: center;
}
.brand-list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 180px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(37,211,102,0.10);
    border: 2px solid #e0e0e0;
    padding: 18px;
    transition: box-shadow 0.2s;
}
.brand-list img:hover {
    box-shadow: 0 4px 16px rgba(37,211,102,0.18);
}

/* 功能区 */
.feature-section {
    margin-bottom: 40px;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(37,211,102,0.10);
    padding: 24px 8px 18px 8px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 4px 16px rgba(37,211,102,0.18);
}
.feature-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 180px;
    object-fit: cover;
    border-radius: 12px;
    background: #e0e0e0;
    margin-bottom: 16px;
}
.feature-desc {
    margin-top: 8px;
    color: #bfa76a;
    font-size: 1.1em;
    font-weight: 500;
}

/* 视频区 16:9 */
.video-section {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: flex-start;
}
.video-block {
    width: 48%;
    min-width: 280px;
}
.video-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    color: #bfa76a;
}
.video-embed {
    width: 100%;
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
}
.video-embed::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 评论区 */
.reviews-section {
    margin-bottom: 40px;
}
.reviews-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(37,211,102,0.10);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}
.review-card:hover {
    box-shadow: 0 4px 16px rgba(37,211,102,0.18);
}
.review-img {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 16px;
    background: #e0e0e0;
    border: 2px solid #bfa76a;
}
.review-info .reviewer {
    font-weight: bold;
    margin-bottom: 8px;
    color: #bfa76a;
}
.review-info .stars {
    color: #ffd700;
    margin-bottom: 8px;
}
.review-info .text {
    font-size: 1em;
    color: #444;
}

/* 滚动条区 */
.scrolling-section {
    margin-bottom: 40px;
}
.scrolling-list {
    min-height: 120px;
    max-height: 220px;
    overflow: hidden;
    position: relative; /* 必须有 */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(37,211,102,0.08);
}
.scrolling-list ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    /* 动画由JS动态生成 */
}
.scrolling-list li {
    padding: 12px 20px;
    font-size: 1em;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
}

/* 悬浮按钮和页尾按钮 */
.floating-btns {
    position: fixed;
    right: 30px;
    bottom: 70px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}
.whatsapp-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 2px 8px rgba(37,211,102,0.18);
    cursor: pointer;
    border: none;
    color: #fff;
    background: #25d366;
    transition: background 0.2s;
    text-decoration: none;
    animation: pulse 1.5s infinite;
}
.whatsapp-btn:hover {
    background: #1ebc59;
}
.top-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 2px 8px rgba(37,211,102,0.18);
    cursor: pointer;
    border: none;
    background: #fff;
    color: #25d366;
    opacity: 0.7;
    transition: background 0.2s;
}
.top-btn:hover {
    background: #e0e0e0;
}
footer {
    text-align: center;
    padding: 40px 0 20px 0;
}
.contact-btn {
    background: #25d366;
    color: #fff;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,211,102,0.12);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    text-decoration: none;
    animation: shake 1.2s infinite;
}
.contact-btn:hover {
    background: #1ebc59;
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.12);}
    100% { transform: scale(1);}
}
@keyframes shake {
    0%, 100% { transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px);}
    20%, 40%, 60%, 80% { transform: translateX(6px);}
}

/* 响应式 */
@media (max-width: 1200px) {
    .gallery-list { grid-template-columns: repeat(4, 1fr);}
    .brand-list { grid-template-columns: repeat(4, 1fr);}
    .feature-list { grid-template-columns: repeat(2, 1fr);}
    .reviews-list { grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 900px) {
    .carousel { max-width: 100%; }
    .gallery-list { grid-template-columns: repeat(2, 1fr);}
    .brand-list { grid-template-columns: repeat(2, 1fr);}
    .feature-list { grid-template-columns: 1fr;}
    .reviews-list { grid-template-columns: 1fr;}
    .video-section { flex-direction: column; gap: 32px; }
    .video-block { width: 100%; }
    .main-title { font-size: 2em; }
    .sub-title { font-size: 1.2em; }
    .floating-btns { right: 12px; bottom: 80px; }
}
@media (max-width: 600px) {
    .main-title { font-size: 1.3em; }
    .sub-title { font-size: 1em; }
    .company-intro, .text-section { font-size: 1em; }
    .gallery-list img, .brand-list img, .feature-card img, .review-img { max-width: 100%; }
    .scrolling-list li {
        font-size: 0.95em;
        padding: 8px 8px;
        word-break: break-all;
        white-space: normal;
    }
}

/* 防止图片溢出，但不改变原有大小 */
img {
    max-width: 100%;
    box-sizing: border-box;
}
/* 平板端品牌区：四列两行 */
@media (min-width: 600px) and (max-width: 900px) {
    .brand-list {
        grid-template-columns: repeat(4, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
    }
}

/* 平板端功能区：图片和品牌区一样大 */
@media (min-width: 600px) and (max-width: 900px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
    }
    .feature-card img {
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 180px;
        object-fit: contain;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(37,211,102,0.10);
        border: 2px solid #e0e0e0;
        padding: 18px;
        margin-bottom: 16px;
        transition: box-shadow 0.2s;
    }
}

/* 手机端功能区：图片和品牌区一样大 */
@media (max-width: 600px) {
    .feature-card img {
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 180px;
        object-fit: contain;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(37,211,102,0.10);
        border: 2px solid #e0e0e0;
        padding: 18px;
        margin-bottom: 16px;
        transition: box-shadow 0.2s;
    }
}
@media (max-width: 900px) {
    .feature-card img {
        width: 100%;
        max-width: 220px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 18px;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-bottom: 0;
    }
    .feature-card {
        background: none;
        box-shadow: none;
        border: none;
        padding: 0;
        text-align: center;
    }
}

/* header字体 */
header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3em;
    color: #222;
    letter-spacing: 1px;
}
header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    font-weight: 700;
    color: #bfa76a;
    text-shadow: 1px 1px 6px #e5d8c3;
}
