* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.5;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 页眉样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    background-color: #2c3e50;
    color: #fff;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 15px;
}

.language-selector a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-selector a:hover,
.language-selector a.active {
    color: #fff;
}

.login-area {
    display: flex;
    gap: 20px;
    align-items: center;
}

.login-area a {
    text-decoration: none;
    color: #e5e7eb;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-area a.btn {
    background-color: #27ae60;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.login-area a.btn:hover {
    background-color: #2ecc71;
}

.header-main {
    padding: 15px 0;
    background-color: #fff;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
}

.nav {
    display: flex;
    gap: 25px;
    margin: 0 auto;

}

.nav a {
    text-decoration: none;
    color: #4b5563;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;


}

.nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #27ae60;
    transition: width 0.3s;
}

.nav a:hover {
    color: #2c3e50;
}

.nav a:hover:after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    margin-left: auto;
}

.search-box:hover,
.search-box:focus-within {
    border-color: #27ae60;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

.search-box input {
    border: none;
    outline: none;
    padding: 5px;
    width: 200px;
    background: transparent;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s;
}

.search-box button:hover {
    color: #27ae60;
}

/* Banner样式 */
.banner {
    position: relative;
    min-height: 550px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    z-index: 2;
}

.carousel-text {
    max-width: 50%;
    text-align: left;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    transform: translateX(-50px) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 5;
}

.carousel-item.active .carousel-text {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* 文字动画效果 */
.carousel-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-text p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

/* 华为云动画效果 */
#carousel-item-1 .carousel-text h2 {
    animation: huaweiTitle 2s ease-in-out infinite;
}

#carousel-item-1 .carousel-text p {
    animation: huaweiDesc 2.5s ease-in-out infinite;
}

@keyframes huaweiTitle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes huaweiDesc {

    0%,
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(10px) scale(1.02);
        opacity: 0.9;
    }
}

/* 腾讯云动画效果 */
#carousel-item-2 .carousel-text h2 {
    animation: tencentTitle 2.5s ease-in-out infinite;
}

#carousel-item-2 .carousel-text p {
    animation: tencentDesc 2s ease-in-out infinite;
}

@keyframes tencentTitle {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateX(-10px) rotate(-1deg);
        opacity: 0.9;
    }
}

@keyframes tencentDesc {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(10px) scale(1.05);
        opacity: 0.9;
    }
}

/* 阿里云动画效果 */
#carousel-item-3 .carousel-text h2 {
    animation: aliyunTitle 2s ease-in-out infinite;
}

#carousel-item-3 .carousel-text p {
    animation: aliyunDesc 2.5s ease-in-out infinite;
}

@keyframes aliyunTitle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    25%,
    75% {
        transform: translate(-5px, -5px) scale(1.05);
        opacity: 0.9;
    }

    50% {
        transform: translate(5px, 5px) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes aliyunDesc {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    25%,
    75% {
        transform: translate(5px, -5px) scale(1.02);
        opacity: 0.9;
    }

    50% {
        transform: translate(-5px, 5px) scale(1.02);
        opacity: 0.9;
    }
}

/* 百度云动画效果 */
#carousel-item-4 .carousel-text h2 {
    animation: baiduTitle 2.5s ease-in-out infinite;
}

#carousel-item-4 .carousel-text p {
    animation: baiduDesc 2s ease-in-out infinite;
}

@keyframes baiduTitle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(10px) rotate(1deg);
        opacity: 0.9;
    }
}

@keyframes baiduDesc {

    0%,
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-10px) scale(1.02);
        opacity: 0.9;
    }
}

/* 为每个轮播项添加不同的动画延迟 */
#carousel-item-1 .carousel-text h2 {
    animation-delay: 0.2s;
}

#carousel-item-2 .carousel-text h2 {
    animation-delay: 0.4s;
}

#carousel-item-3 .carousel-text h2 {
    animation-delay: 0.6s;
}

#carousel-item-4 .carousel-text h2 {
    animation-delay: 0.8s;
}

#carousel-item-1 .carousel-text p {
    animation-delay: 0.3s;
}

#carousel-item-2 .carousel-text p {
    animation-delay: 0.5s;
}

#carousel-item-3 .carousel-text p {
    animation-delay: 0.7s;
}

#carousel-item-4 .carousel-text p {
    animation-delay: 0.9s;
}

/* 添加按钮动画效果 */
.carousel-btn {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    position: relative;
    z-index: 20;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
}

.carousel-btn:hover {
    background: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.carousel-control {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.banner-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    padding: 80px 0;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 30px;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fff;
    color: #333;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 热门地区样式 */
.hot-regions {
    padding: 60px 0;
    background-color: #fff;
    background-image: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: #2c3e50;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #27ae60;
}

.section-title p {
    color: #6b7280;
    font-size: 16px;
}

/* 区域选项卡样式 */
.region-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.region-tabs button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.region-tabs button:hover {
    background-color: #fff;
    color: #2c3e50;
    border-color: #27ae60;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.region-tabs button.active {
    background-color: #27ae60;
    color: white;
    border-color: #27ae60;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

/* 区域内容容器 */
.regions-container {
    position: relative;
    margin-top: 40px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.regions-grid.active {
    opacity: 1;
    position: relative;
    visibility: visible;
}

.region-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #27ae60;
}

.region-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #27ae60 0%, #2c3e50 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.region-card:hover:before {
    transform: scaleX(1);
}

/* 区域旗帜样式 */
.region-flag {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

/* 添加国旗背景图片 */
.region-flag.flag-cn {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-sg {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-jp {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-us {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-de {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-au {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-fr {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-gb {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-us-east {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-br {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-ae {
    background-image: url('http://temp.im/100x60');
}

.region-flag.flag-za {
    background-image: url('http://temp.im/100x60');
}

.region-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.region-card p {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.region-link {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: rgba(39, 174, 96, 0.1);
    margin-top: auto;
    transition: all 0.3s ease;
}

.region-link:hover {
    background-color: #27ae60;
    color: white;
}

.region-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    transition: width 0.3s ease;
}

/* 查看更多按钮样式 */
.more-btn {

    color: #27ae60;
  
}

.more-btn:hover {

    color: white;
  
}

.more-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #27ae60 0%, #2c3e50 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.more-btn:hover:before {
    transform: scaleX(1);
}

.products-grid .more-btn {
    display: block;
    margin: 30px auto 15px;
}

@media (max-width: 1200px) {
    .regions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-main-content {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .header-main-content > div {
        padding: 0 10px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        padding-left: 10px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .search-box {
        display: none;
    }

    .banner h1 {
        font-size: 2em;
    }

    .banner p {
        font-size: 1em;
    }

    .banner-buttons {
        flex-direction: column;
    }

    .carousel-text {
        padding: 20px;
    }

    .carousel-text h2 {
        font-size: 1.8em;
    }

    .carousel-text p {
        font-size: 1em;
    }
}

@media (max-width: 600px) {

    .products-grid,
    .regions-grid {
        grid-template-columns: 1fr;
    }

    .header-top-content {
        flex-direction: column;
    }

    .header-top {
        padding: 10px 0;
    }

    .carousel-text {
        padding: 15px;
    }

    .carousel-text h2 {
        font-size: 1.5em;
    }

    .carousel-text p {
        font-size: 0.9em;
    }

    .carousel-btn {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    .region-tabs {
        flex-wrap: wrap;
    }

    .region-tabs button {
        margin: 5px;
        padding: 8px 15px;
    }
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 80px 0 30px;
}

footer .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

footer .footer-column {
    flex: 1;
    padding: 0 15px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column h3 i {
    color: #2ecc71;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-column ul li a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    footer {
        padding: 15px 0;
    }

    footer .container {
        display: none !important;
    }

    .footer-bottom {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .footer-bottom p {
        margin: 0;
        padding: 10px 0;
        line-height: 1.5;
        font-size: 12px;
    }
}

/* 热门产品样式 */
.hot-products {
    padding: 80px 0;
    background-color: #f0f4f8;
    background-image: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
}

.product-tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

.product-tabs button {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-tabs button:hover {
    color: #2c3e50;
    background-color: #fff;
    border-color: #27ae60;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-tabs button.active {
    background-color: #27ae60;
    color: #fff;
    border-color: #27ae60;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    margin: 0 auto;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-badge {
    background-color: #27ae60;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-card h3 {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.product-card .price {
    font-size: 16px;
    margin-bottom: 25px;
    color: #6b7280;
}

.product-card .price span {
    font-size: 32px;
    font-weight: bold;
    color: #27ae60;
}

.product-card .specs-list {
    list-style: none;
    margin-bottom: 30px;
}

.product-card .specs-list li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
}

.product-card .spec-icon {
    color: #27ae60;
    margin-right: 12px;
    min-width: 18px;
    text-align: center;
}

.product-card .spec-name {
    margin-right: 5px;
    color: #4b5563;
    font-weight: 500;
}

.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.card-buttons a {
    flex: 1;
    min-width: 40%;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
}

.product-card .apply-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-card .apply-btn:hover {
    background-color: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.product-card .detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #fff;
    color: #27ae60;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #27ae60;
}

.product-card .detail-btn:hover {
    background-color: #f0fff4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.1);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-main-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        display: none;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 16px;
    }

    .banner-buttons {
        flex-direction: column;
    }

    .carousel-text {
        max-width: 300px;
        padding: 20px;
    }

    .carousel-text h2 {
        font-size: 24px;
    }

    .carousel-text p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {

    .products-grid,
    .regions-grid {
        grid-template-columns: 1fr;
    }

    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-top {
        padding: 15px 0;
    }

    .carousel-text {
        max-width: 280px;
        padding: 15px;
    }

    .carousel-text h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .carousel-text p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .carousel-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .region-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .region-tabs button {
        width: 100%;
        justify-content: center;
    }
}

/* 新闻动态样式 */
.news {
    padding: 80px 0;
    background-color: #f8fafc;
}

.news-container {
    width: 100%;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f5f5f5;
}

/* 添加新闻图片背景 */
#news-image-1 {
    background-image: url('../images/01.png');
}

#news-image-2 {
    background-image: url('../images/01.png');
}

#news-image-3 {
    background-image: url('../images/01.png');
}

/* 轮播图背景 */
#carousel-item-1 {
    background-image: url('../images/banner.png');
}

#carousel-item-2 {
    background-image: url('../images/banner.png');
}

#carousel-item-3 {
    background-image: url('../images/banner.png');
}

#carousel-item-4 {
    background-image: url('../images/banner.png');
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    background-color: rgba(232, 245, 233, 0.7);
    font-size: 1.5rem;
    font-weight: 600;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: right;
    line-height: 3rem;
    padding-right: 20px;
    color: #27ae60;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

.news-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.news-date {
    color: #9ca3af;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-link {
    color: #27ae60;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #2ecc71;
    gap: 8px;
}

.more-news {
    text-align: center;
}

.more-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    color: #27ae60;
    border: 1px solid #27ae60;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.1);
}

.more-news-btn:hover {
    background-color: #27ae60;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(39, 174, 96, 0.2);
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 180px;
    }
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-title {
    color: #2c3e50;
    font-size: 14px;
    transition: color 0.3s;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.news-title:hover {
    color: #27ae60;
    text-decoration: underline;
}

.news-date {
    color: #95a5a6;
    font-size: 12px;
    white-space: nowrap;
}

.news-list li:hover {
    background-color: #f5f8fa;
}

/* 添加原内联样式 */
/* 产品区域样式 */
.products-container {
    width: 100%;
    position: relative;
}

.products-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.products-grid.active {
    display: grid;
}

/* 产品卡片样式 */
.product-card {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    padding: 25px;
    transition: all 0.3s ease;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* 产品选项卡样式 */
.product-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-tabs button {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

/* 面包屑导航样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #27ae60;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb .current {
    color: #27ae60;
    font-weight: 500;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 800px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.region-section h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #27ae60;
}

.region-section:first-child .region-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.region-section:first-child .region-list a {
    padding: 8px 15px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.region-section:first-child .region-list a:hover {
    background: rgba(39, 174, 96, 0.2);
    transform: translateX(5px);
}

.region-section:not(:first-child) .region-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
}

.region-section:not(:first-child) .region-list a {
    padding: 5px 0;
}



.region-list a {
    color: #4b5563;
    font-size: 14px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.region-list a:hover {
    color: #27ae60;
    transform: translateX(5px);
}

.region-list a i {
    color: #27ae60;
    font-size: 12px;
}

@media (max-width: 900px) {
    .dropdown-menu {
        min-width: 600px;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 400px;
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .region-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        min-width: 300px;
        grid-template-columns: 1fr;
    }
}

/* 移动端菜单样式 */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    margin-right: 15px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 100000000;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: #4b5563;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
}

.mobile-dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-dropdown-content {
    display: none;
    padding: 10px 0 10px 15px;
}

.mobile-dropdown-content h4 {
    margin: 15px 0 10px;
    color: #2c3e50;
    font-size: 16px;
}

.mobile-dropdown-content .region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-dropdown-content a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
}

.mobile-search {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .header-main-content > div {
        padding: 0 10px;
    }

    .logo {
        padding-left: 10px;
    }
}

/* 移动端垂直侧边菜单样式 */
@media (max-width: 768px) {

    /* 默认隐藏移动端文本 */
    .mobile-text {
        display: none;
    }

    /* 确保菜单不遮挡页头，位置固定 */
    .region-tabs,
    .product-tabs,
    .mobile-menu-tab {
        box-sizing: border-box !important;
        width: 18px !important;
        left: 0 !important;
        position: fixed !important;
        top: 360px !important;
        z-index: 999 !important;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 2px 0;
        background-color: rgba(248, 248, 248, 0.9);
        border: 1px solid #eee;
        border-radius: 3px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }


    .mobile-menu-tab-button {
        width: 18px !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.5px !important;
    }

    .region-tabs button,
    .product-tabs button {
        box-sizing: border-box !important;
        width: 18px !important;
        padding: 5px 0 !important;
        margin: 2px 0 !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.5px !important;
        text-align: center;
        border-radius: 0;
        background: transparent;
        border: none;
        position: relative;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        min-height: 0;
    }

    .region-tabs button:before,
    .product-tabs button:before {
        display: none;
    }

    /* 统一的活动状态样式 */
    .region-tabs button.active,
    .product-tabs button.active {
        color: #000;
        font-weight: normal;
        background-color: rgba(233, 233, 233, 0.3);
    }

    /* 第一个选项卡的特殊样式 - 绿色背景 */
    .region-tabs button:first-child.active,
    .product-tabs button:first-child.active {
        background-color: #3c9;
        color: #fff;
    }

    /* 移动端文本显示 */
    .region-tabs button span,
    .product-tabs button span {
        display: none;
    }

    .region-tabs button .mobile-text,
    .product-tabs button .mobile-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .region-tabs button .mobile-text span,
    .product-tabs button .mobile-text span {
        display: block;
        height: 12px;
        line-height: 12px;
        margin-bottom: 4px;
        font-weight: normal;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .region-tabs button .fas,
    .product-tabs button .fas {
        display: none;
    }

    .regions-container,
    .products-container {
        margin-left: 0;
        padding-left: 0;
    }
}

/* 添加.news-info样式（从内联样式移出） */
.news-info {
    font-size: 12px;
    color: #888;
    margin-left: 4px;
    vertical-align: middle;
}