/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary-color: #DAB96B;
    --text-dark: #333333;
    --text-gray: #999999;
    --text-light: #999999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --header-height: 80px;
    --header-height-mobile: 60px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-list > li > a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-underline-offset: 30px;
    text-decoration-thickness: 3px;
}

.nav-list > li > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-list > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 700px;
    background-color: var(--bg-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
}

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

/* 左侧主方案区域 */
.dropdown-main {
    width: 180px;
    padding: 20px 0;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

.dropdown-main a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-main a:hover,
.dropdown-main a.active {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    background-color: #fffaf5;
}

/* 右侧分类区域 */
.dropdown-categories {
    flex: 1;
    padding: 20px 25px;
}

.dropdown-section {
    padding: 0;
    border-bottom: none;
    margin-bottom: 20px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.dropdown-section-header i {
    font-size: 12px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.dropdown-section-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.dropdown-section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.dropdown-section-links a {
    font-size: 14px;
    color: var(--text-gray);
    padding: 4px 0;
    transition: color 0.3s ease;
}

.dropdown-section-links a:hover {
    color: var(--secondary-color);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-btn {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.language-switch {
    position: relative;
    cursor: pointer;
}

.language-switch > span {
    font-size: 14px;
    color: var(--text-gray);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-switch:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
}

.lang-dropdown a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: var(--text-dark);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--text-gray);
    font-size: 16px;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo img {
    height: 35px;
}

.mobile-menu-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-gray);
}

.mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #d4922a;
    font-size: 14px;
    position: relative;
    cursor: pointer;
}

.mobile-lang-switch i {
    font-size: 18px;
}

.mobile-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 100px;
    z-index: 100;
}

.mobile-lang-dropdown.show {
    display: block;
}

.mobile-lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-lang-dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.mobile-lang-dropdown a.active {
    color: var(--primary-color);
    font-weight: 500;
}

.mobile-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-gray);
    padding: 5px;
}

.mobile-nav {
    padding: 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-nav-list li a:hover {
    background-color: #fafafa;
    color: #d4922a;
}

.mobile-nav-list li a i {
    color: var(--text-light);
    font-size: 14px;
}

.mobile-has-dropdown a span {
    flex: 1;
}

/* Banner Section */
.banner {
    position: relative;
    height: 87vh;
    min-height: 400px;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
    /* banner 图片向中心缩小的缩放动画，持续 2 秒 */
    animation: bannerZoomOut 2s ease-in-out forwards;
    transform-origin: center center;
}

/* banner 图片缩小到中心的缩放动画 */
@keyframes bannerZoomOut {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.banner-content h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.banner-content p {
    font-size: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down i {
    margin-top: 10px;
    font-size: 16px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Banner Navigation Dots */
.banner-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.banner-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.banner-dots .dot.active {
    background-color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Banner Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.banner-arrow:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

@media screen and (max-width: 768px) {
    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .banner-prev {
        left: 15px;
    }
    
    .banner-next {
        right: 15px;
    }
    
    .banner-dots {
        bottom: 70px;
    }
    
    .banner-dots .dot {
        width: 10px;
        height: 10px;
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 12px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Modules Section */
.modules-section {
    /* 原本是浅灰色，现与 advantages-section 互换为白色 */
    background-color: var(--bg-white);
}

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

/* Modules Carousel */
.modules-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    /* 为推荐模组轮播视口设置白色背景 */
    background-color: #ffffff!important;
}

.carousel-track {
    display: flex;
    background-color: #ffffff;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* 首页推荐模组加载状态区域背景统一为白色 */
.modules-section .carousel-track,
.modules-section .carousel-track .loading-indicator {
    background-color: #ffffff;
}

.carousel-item {
    flex: 0 0 calc(25% - 15px);
    margin: 0 7.5px;
    box-sizing: border-box;
}

.carousel-item:first-child {
    margin-left: 0;
}

.carousel-item:last-child {
    margin-right: 0;
}

.carousel-item .module-card {
    height: 100%;
    margin: 0;
}

.carousel-arrow {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: none;
    background-color: var(--bg-white);
    color: var(--text-gray);
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background-color: var(--secondary-color);
}

.carousel-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Responsive Carousel */
@media screen and (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 10px);
    }
}

@media screen and (max-width: 992px) {
    .carousel-item {
        flex: 0 0 calc(50% - 7.5px);
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .carousel-item {
        flex: 0 0 100%;
        margin: 0;
    }
    
    .modules-carousel {
        gap: 10px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

.module-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.module-image {
    padding: 20px;
    text-align: center;
    background-color: #FFFFFF;
}

.module-image img {
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}


.module-info {
    padding: 25px;
    text-align: center;
}

.module-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.module-info p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-btn {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #ccc;
    color: var(--text-gray);
    border-radius: 20px;
    font-size: 13px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.detail-btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateX(5px);
}

/* 推荐模组卡片整体 hover 选中效果 */
.carousel-item:hover .module-card {
    box-shadow: 0 0 0 1px rgba(204, 204, 204, 0.8), 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-item:hover .detail-btn {
    background-color: #D8BA73;
    color: #fff;
}

/* Advantages Section */
.advantages-section {
    /* 原本是白色，现与 modules-section 互换为浅灰色 */
    background-color: var(--bg-light);
    background-image: url('../images/bg/a1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.advantages-section .advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

.advantages-section .advantage-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    text-align: left;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.advantages-section .advantage-card:hover {
    transform: none;
    box-shadow: none;
}

.advantages-section .advantage-card:hover .advantage-icon img {
    transform: scale(0.9);
}

.advantages-section .advantage-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages-section .advantage-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.advantages-section .advantage-content {
    flex: 1;
}

.advantages-section .advantage-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantages-section .advantage-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* Cloud Section */
.cloud-section {
    /* 原本是渐变背景，现与 certification-section 互换为白色 */
    background-color: var(--bg-white);
}

.cloud-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.cloud-logo {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cloud-logo:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.cloud-logo img {
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.cloud-logo:hover img {
    filter: grayscale(0%);
}

/* Certification Section */
.certification-section {
    /* 原本是白色背景，现与 cloud-section 互换为渐变背景 */
    background-image: url('../images/bg/a2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.certification-image {
    text-align: center;
}

.certification-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Footer */
.footer {
    background-image: url('../images/bg/a3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding-top: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-address i {
    color: #FFFFFF;
    margin-top: 3px;
}

.footer-address p {
    font-size: 14px;
    line-height: 1.2;
    color: #FFFFFF;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 12px;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.contact-item a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 5px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    font-size: 12px;
    color: #FFFFFF;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 110px;
    height: 110px;
    border-radius: 1px;
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 12px;
    color: #FFFFFF;
}

.footer-bottom {
    padding: 20px 0;
    text-align: left;
}

.footer-bottom p {
    font-size: 12px;
    color: #FFFFFF;
}

/* Fixed Contact Buttons */
.fixed-contact {
    position: fixed;
    right: 0;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 999;
}

.contact-btn-wrapper {
    position: relative;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #3a6186;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-btn:hover {
    background-color: #4a7196;
}

.contact-btn i {
    font-size: 18px;
}

/* Contact Popup Card */
.contact-popup {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 25px;
    min-width: 200px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-btn-wrapper:hover .contact-popup {
    opacity: 1;
    visibility: visible;
    right: 55px;
    pointer-events: auto;
}

.contact-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.contact-popup h4 {
    font-size: 15px;
    font-weight: 600;
    color: #3a6186;
    margin-bottom: 10px;
    white-space: nowrap;
}

.contact-popup p {
    font-size: 14px;
    color: #3a6186;
}

.contact-popup p a {
    color: #3a6186;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-popup p a:hover {
    color: #d4922a;
    text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .advantages-section .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cloud-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .header {
        height: var(--header-height-mobile);
    }
    
    .logo img {
        height: 35px;
    }
    
    /* Hide desktop nav menu on mobile */
    .nav-menu {
        display: none;
    }
    
    /* Show mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        min-width: auto;
        flex-direction: column;
    }
    
    .has-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 800px;
    }
    
    .dropdown-main {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px 0;
    }
    
    .dropdown-main a {
        padding: 10px 15px;
    }
    
    .dropdown-categories {
        padding: 15px;
    }
    
    .dropdown-section {
        margin-bottom: 15px;
    }
    
    .dropdown-section-links {
        gap: 5px 15px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .shop-btn, .language-switch, .search-btn {
        display: none;
    }
    
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-qrcode {
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-section .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-section .advantage-card {
        gap: 15px;
    }
    
    .advantages-section .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .cloud-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fixed-contact {
        right: 0;
        bottom: 80px;
    }
    
    .contact-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .contact-popup {
        min-width: 180px;
        padding: 15px 20px;
        right: 50px;
    }
    
    .contact-btn-wrapper:hover .contact-popup {
        right: 50px;
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .banner {
        min-height: 500px;
    }
    
    .banner-content h1 {
        font-size: 26px;
    }
    
    .banner-content h2 {
        font-size: 20px;
    }
    
    .section-header p {
        font-size: 12px;
    }
    
    .module-info {
        padding: 20px;
    }
    
    .cloud-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cloud-logo {
        padding: 15px;
    }
}

/* ============================================
   动态加载样式
   ============================================ */

/* 加载指示器 */
.loading-indicator {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-gray);
    /* 在推荐模组轮播里也保持白色背景 */
    background-color: #ffffff;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f0f0f0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-indicator p {
    font-size: 14px;
    color: var(--text-gray);
}

/* 加载错误和重试按钮 */
.load-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.load-error p {
    margin-bottom: 15px;
}

.retry-btn {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.retry-btn:hover {
    background-color: var(--primary-dark);
}

.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}
