/* 
 * Glassmorphism CSS for Cloud Computing Theme
 * 666Cloud云服务 - 透明毛玻璃效果样式
 */

/* 全局样式 */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #333333;
    --dark-bg: #1a1a2e;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    --blur-effect: 15px;
    --separator-color: rgba(0, 0, 0, 0.1);
    --nav-height: 70px; /* 修改导航高度变量为70px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, #f5f7fa, #e6eef8);
    background-attachment: fixed;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

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

/* 毛玻璃效果基础类 */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-effect));
    -webkit-backdrop-filter: blur(var(--blur-effect));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* 头部导航样式 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height) !important;
}

.glassmorphism-nav {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 30px var(--glass-shadow);
    padding: 0;
    height: var(--nav-height) !important;
    min-height: var(--nav-height) !important;
    max-height: var(--nav-height) !important;
    overflow: visible;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height) !important;
}

.logo-area {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    justify-content: flex-start;
}

.site-logo {
    height: 30px;
    margin-right: 15px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px; /* 减小间距避免文字堆积 */
    height: var(--nav-height);
    align-items: center;
}

.primary-menu > li {
    position: relative;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.menu-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 10px;
    white-space: nowrap; /* 防止文本换行 */
}

.menu-link i {
    margin-left: 5px;
    font-size: 12px;
    margin-top: 2px;
    color: var(--secondary-color);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.menu-item:hover .menu-link::after {
    width: 100%;
}

/* 右侧按钮样式 */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    height: var(--nav-height);
    justify-content: flex-end;
}

.nav-btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    height: auto;
}

.promotion-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.login-btn {
    background-color: transparent;
    color: var(--dark-text);
    border: 1px solid var(--secondary-color);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promotion-btn:hover {
    background-color: #2c9448;
}

.login-btn:hover {
    background-color: rgba(52, 168, 83, 0.1);
    color: var(--secondary-color);
}

/* 下拉菜单样式 */
.submenu-container {    
    position: absolute;    
    top: 100%;    
    left: 0;    
    width: 100vw; /* 设置为视口宽度 */    
    max-width: 100vw;    
    height: 400px; /* 固定高度 */    
    opacity: 0;    
    visibility: hidden;
    transition: all 0.3s ease;    
    z-index: 1000; /* 增加z-index确保在顶层 */    
    padding: 15px;    
    margin-top: 15px;    
    left: 50%;    
    transform: translateX(-50%) translateY(20px); /* 居中并添加下移效果 */    
    box-sizing: border-box;
}

.menu-item:hover .submenu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 居中显示 */
}

.glassmorphism-submenu {    
    background: rgba(255, 255, 255, 0.15);    
    backdrop-filter: blur(10px);    
    -webkit-backdrop-filter: blur(10px);    
    border: 1px solid rgba(255, 255, 255, 0.2);    
    border-radius: 10px;    
    box-shadow: 0 8px 32px 0 var(--glass-shadow);    
    height: 100%;    
    overflow: hidden;    
    position: relative;
}

.glassmorphism-submenu::before {    
    content: '';    
    position: absolute;    
    top: 0;    
    left: 0;    
    right: 0;    
    bottom: 0;    
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));    
    border-radius: 10px;    
    pointer-events: none;    
    z-index: 1;
}

.submenu-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.submenu-intro {
    width: 25%;
    padding: 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.submenu-intro-icon {
    color: var(--secondary-color);
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 168, 83, 0.1);
    padding: 15px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.submenu-intro h3 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 22px;
}

.submenu-intro p {
    color: rgba(51, 51, 51, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.submenu-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 25px;
    overflow-y: auto;
    max-height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.submenu-column {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.submenu-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin: 0;
}

.submenu-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submenu-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--secondary-color);
    background-color: rgba(52, 168, 83, 0.1);
    font-size: 18px;
    margin-right: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.submenu-item-content {
    flex: 1;
}

.submenu-item h4 {
    color: var(--dark-text);
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

.submenu-item p {
    color: rgba(51, 51, 51, 0.7);
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 页面内容区域 */
.site-content {
    margin-top: 70px;
    min-height: calc(100vh - 80px - 350px);
}

/* 首页英雄区域 */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: url('../tu/bj3.jpg') no-repeat center center;
    background-size: cover;
    margin-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 40px;
    text-align: center;
    margin: 120px auto 60px;
    color: var(--dark-text);
}

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

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(51, 51, 51, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    font-size: 16px;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #2c9448;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-text);
    border: 1px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: rgba(52, 168, 83, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 云服务部分 */
.cloud-services {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: rgba(51, 51, 51, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: var(--secondary-color);
    font-size: 40px;
    margin-bottom: 20px;
    background: rgba(52, 168, 83, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 多云战略部分 */
.multi-cloud-strategy {
    padding: 60px 0;
    margin: 80px 0;
}

.strategy-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.strategy-text {
    flex: 1;
    color: var(--dark-text);
}

.strategy-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.strategy-text p {
    font-size: 16px;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 25px;
}

.strategy-features {
    margin-bottom: 30px;
}

.strategy-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(51, 51, 51, 0.9);
}

.strategy-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.strategy-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.strategy-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 客户评价部分 */
.client-testimonials {
    padding: 60px 0;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    min-width: 350px;
    padding: 30px;
    color: var(--dark-text);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.client-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-details p {
    font-size: 14px;
    color: rgba(51, 51, 51, 0.7);
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(51, 51, 51, 0.9);
    font-style: italic;
}

/* CTA部分 */
.cta-section {
    padding: 60px 0;
    margin: 80px 0 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-text);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 30px;
}

/* 底部样式 */
.site-footer {
    padding: 50px 0 20px;

}

.glassmorphism-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-effect));
    -webkit-backdrop-filter: blur(var(--blur-effect));
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-responsive {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    transition: all 0.3s ease;
}

.footer-left, .footer-right {
    width: 48%;
    transition: all 0.3s ease;
}

.footer-logo-img {
    height: 30px;
    margin-bottom: 15px;
}

.company-info h3 {
    color: var(--dark-text);
    margin-bottom: 10px;
    font-size: 20px;
}

.company-info p {
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.friendship-links h4, .official-websites h4 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 16px;
}

.links-list, .websites-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.links-list li, .websites-list li {
    margin-right: 15px;
    margin-bottom: 10px;
}

.links-list a, .websites-list a {
    color: rgba(51, 51, 51, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.links-list a:hover, .websites-list a:hover {
    color: var(--primary-color);
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.subscribe-qrcode-container {
    display: flex;
    margin-bottom: 25px;
}

.qrcode-area {
    flex: 1;
}

.qrcode-area h4 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 16px;
}

.qrcode-and-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.qrcode-container {
    flex-shrink: 0;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex-grow: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.contact-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-media {
    margin-top: 30px;
}

.social-media h4 {
    margin-bottom: 15px;
    color: var(--dark-text);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(52, 168, 83, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons li a:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--dark-text);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
    }
    .primary-menu {
        gap: 20px;
    }
    .submenu-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 平板设备上的页脚响应式调整 */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        width: 100%;
    }
    
    .footer-right {
        margin-top: 30px;
    }
    
    .qrcode-and-contact {
        justify-content: flex-start;
    }
    
    /* 友情链接和官方网站标题居中 */
    .friendship-links h4, .official-websites h4 {
        text-align: center;
    }
    
    .links-list, .websites-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .primary-menu {
        gap: 10px;
    }
    .menu-link {
        font-size: 14px;
    }
    .submenu-items {
        grid-template-columns: 1fr;
    }
    .submenu-container {
        height: auto;
        max-height: 80vh;
    }
    
    /* 移动设备上的页脚响应式调整 */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        width: 100%;
    }
    
    .footer-right {
        margin-top: 30px;
    }
    
    /* 页脚logo居中显示 */
    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-logo-img {
        height: 35px;
        margin-bottom: 15px;
    }
    
    .qrcode-and-contact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .qrcode-container {
        margin: 0 auto 20px;
    }
    
    .social-media {
        text-align: center;
    }
    
    .social-media h4 {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .copyright {
        margin-top: 20px;
    }
    
    /* 友情链接和官方网站标题居中 */
    .friendship-links h4, .official-websites h4 {
        text-align: center;
    }
    
    .links-list, .websites-list {
        justify-content: center;
    }
    
    /* 调整友情链接和官方网站区域间距 */
    .friendship-links, .official-websites {
        margin-bottom: 20px;
        width: 100%;
    }
    
    /* 确保链接在移动端有更好的触摸区域 */
    .links-list li a, .websites-list li a {
        padding: 5px 8px;
        display: inline-block;
    }
}

/* 隐藏平板和手机上的公司信息 */
@media (max-width: 992px) {
    .company-info {
        display: none;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 滚动效果 */
.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 修复滚动时导航栏样式 */
.scrolled .glassmorphism-nav {
    height: var(--nav-height) !important;
    min-height: var(--nav-height) !important;
    max-height: var(--nav-height) !important;
    box-shadow: 0 4px 30px var(--glass-shadow);
    background-color: #fdfefe !important; /* 下滑时保持背景色 */
    backdrop-filter: none !important; /* 移除模糊效果 */
    -webkit-backdrop-filter: none !important; /* 移除模糊效果 */
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.scrolled .menu-link {
    color: var(--dark-text);
}

.scrolled .logo-area {
    transform: none;
}

/* 菜单动画 */
.menu-item-hover .menu-link {
    color: var(--primary-color);
}

/* 响应式菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu-open .nav-menu {
        display: flex;
    }
    
    .menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

.scrolled .glassmorphism-nav {
    box-shadow: 0 4px 30px var(--glass-shadow);
}

.scrolled .menu-link {
    color: var(--dark-text);
}

.scrolled .logo-area {
    transform: none;
}

/* 文章卡片部分 */
.service-card.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-effect));
    -webkit-backdrop-filter: blur(var(--blur-effect));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    transition: all 0.3s ease;
}

.service-card.glassmorphism:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

/* 多云战略部分 */
.multi-cloud-strategy.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-effect));
    -webkit-backdrop-filter: blur(var(--blur-effect));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* CTA部分 */
.cta-section.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-effect));
    -webkit-backdrop-filter: blur(var(--blur-effect));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* 客户评价 */
.testimonial-item.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-effect));
    -webkit-backdrop-filter: blur(var(--blur-effect));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    transition: all 0.3s ease;
}

.testimonial-item.glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

/* 导航菜单样式更新 */
.menu-link i.nav-arrow {
    color: #999;
    font-size: 11px;
    margin-left: 5px;
    margin-top: 2px;
}

/* 右侧按钮样式 */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    height: var(--nav-height);
    justify-content: flex-end;
}

/* 语言切换 */
.language-switch {
    margin-right: 5px;
}

.language-toggle {
    font-size: 18px;
    padding: 6px 10px;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.language-toggle:hover {
    color: var(--secondary-color);
}

/* 快速链接下拉 */
.quick-links-dropdown {
    position: relative;
}

.quick-links-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.5);
    gap: 5px;
    height: auto;
}

.quick-links-toggle i {
    color: var(--secondary-color);
    font-size: 16px;
}

.quick-links-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.quick-links-dropdown:hover .quick-links-menu {
    opacity: 1;
    visibility: visible;
}

.quick-links-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.quick-links-menu ul li {
    padding: 0;
    margin: 0;
}

.quick-links-menu ul li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--dark-text);
    transition: all 0.2s ease;
}

.quick-links-menu ul li a i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.quick-links-menu ul li a:hover {
    background-color: rgba(52, 168, 83, 0.1);
}

/* Chat Now按钮 */
.chat-btn {
    background-color: #25D366; /* WhatsApp绿色 */
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
}

.chat-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* 子菜单样式优化 */
.submenu-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.submenu-items {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    padding: 25px;
    overflow-y: auto;
    max-height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

/* 媒体查询 - 小屏幕响应式调整 */
@media (max-width: 1200px) {
    .submenu-container {
        height: auto;
        max-height: 600px;
    }
    
    .submenu-wrapper {
        flex-direction: column;
    }
    
    .submenu-intro {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--separator-color);
        padding: 20px;
    }
    
    .submenu-items {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .submenu-column {
        width: 100%;
    }
    
    .submenu-container {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 0;
        box-shadow: none;
        height: auto;
    }
    
    .menu-item:hover .submenu-container {
        transform: none;
    }
    
    .submenu-item {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .submenu-item:hover {
        background: rgba(255, 255, 255, 0.6);
        transform: none;
    }
    
    .submenu-intro {
        padding: 15px;
    }
    
    .submenu-intro-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* 改善触摸区域大小 */
    .menu-link {
        padding: 15px 10px;
    }
    
    .submenu-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 减轻移动端动画，节省性能 */
    .menu-item:hover .submenu-item {
        animation: none;
        opacity: 1;
    }
    
    .submenu-item::after {
        display: none;
    }
}

/* 恢复子菜单样式 */
.simple-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 15px;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
}

.menu-item:hover .simple-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 5px;
}

.simple-submenu ul li {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
}

.simple-submenu ul li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--dark-text);
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.simple-submenu ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
}

/* 确保最后一个菜单项的子菜单不会溢出屏幕右侧 */
.menu-item:last-child .simple-submenu {
    left: auto;
    right: 0;
}

/* 菜单动画效果 */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item:hover .submenu-item {
    animation: menuFadeIn 0.4s ease forwards;
}

.submenu-column:first-child .submenu-item:nth-child(1) { animation-delay: 0.1s; }
.submenu-column:first-child .submenu-item:nth-child(2) { animation-delay: 0.15s; }
.submenu-column:first-child .submenu-item:nth-child(3) { animation-delay: 0.2s; }
.submenu-column:first-child .submenu-item:nth-child(4) { animation-delay: 0.25s; }
.submenu-column:first-child .submenu-item:nth-child(5) { animation-delay: 0.3s; }

.submenu-column:last-child .submenu-item:nth-child(1) { animation-delay: 0.15s; }
.submenu-column:last-child .submenu-item:nth-child(2) { animation-delay: 0.2s; }
.submenu-column:last-child .submenu-item:nth-child(3) { animation-delay: 0.25s; }
.submenu-column:last-child .submenu-item:nth-child(4) { animation-delay: 0.3s; }
.submenu-column:last-child .submenu-item:nth-child(5) { animation-delay: 0.35s; }

/* 添加移动端适配 */
@media (max-width: 768px) {
    .simple-submenu {
        position: relative;
        width: 100%;
        transform: none;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: none;
        max-height: none;
        padding: 10px;
        left: 0;
        right: 0;
    }

    .menu-item:hover .simple-submenu {
        transform: none;
    }

    .simple-submenu ul li a {
        padding: 12px 15px;
    }
    
    .submenu-wrapper {
        flex-direction: column;
    }
    
    .submenu-intro {
        width: 100%;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .submenu-items {
        width: 100%;
        padding: 15px;
    }
    
    .menu-item:last-child .simple-submenu {
        left: 0;
        right: 0;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .submenu-item {
        width: 100%; /* 超小屏每行显示1个 */
        margin-right: 0;
    }
}

/* 为简单子导航添加图标 */
.simple-submenu ul li a i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* 修复子菜单列显示 */
.submenu-column {
    display: contents; /* 让内容直接显示在grid中 */
}

/* 移动端适配完善 */
@media (max-width: 768px) {
    .simple-submenu {
        position: relative;
        width: 100%;
        transform: none;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: none;
        max-height: none;
        padding: 10px;
        left: 0;
        right: 0;
    }

    .menu-item:hover .simple-submenu {
        transform: none;
    }

    .simple-submenu ul li a {
        padding: 12px 15px;
    }
    
    .submenu-wrapper {
        flex-direction: column;
    }
    
    .submenu-intro {
        width: 100%;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .submenu-items {
        width: 100%;
        padding: 15px;
    }
    
    .menu-item:last-child .simple-submenu {
        left: 0;
        right: 0;
    }
}

/* 移动端导航优化 - 开始 */
@media (max-width: 768px) {
    /* 隐藏桌面端下拉箭头，只保留一个 */
    .menu-link i.nav-arrow,
    .submenu-toggle {
        display: none !important;
    }
    
    /* 移动端菜单样式 - 完全隐藏，点击后才显示 */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* 默认隐藏在屏幕外 */
        width: 100% !important; /* 全屏宽度 */
        height: 100vh !important;
        background: #ffffff !important;
        box-shadow: none !important;
        overflow-y: auto !important; /* 允许滚动 */
        transition: left 0.3s ease !important;
        z-index: 999 !important;
        padding: 60px 15px 20px !important; /* 减小顶部间距 */
        text-align: center !important; /* 居中显示 */
        visibility: hidden !important; /* 确保完全隐藏 */
        opacity: 0 !important; /* 确保完全隐藏 */
    }
    
    /* 激活时才显示导航 */
    .nav-menu.active {
        left: 0 !important; /* 激活时显示 */
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 修复主内容区域，确保没有空白 */
    .site-content {
        margin-top: 60px !important; /* 与头部高度匹配 */
    }
    
    /* 确保头部导航不占用空间 */
    .site-header {
        position: fixed !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .glassmorphism-nav {
        padding: 10px 0 !important;
    }
    
    /* 移动端菜单项样式 */
    .primary-menu {
        display: block !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important; /* 全宽显示 */
        margin: 0 auto !important; /* 居中显示 */
        padding-top: 0 !important; /* 减少顶部间距 */
    }
    
    .primary-menu > li {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 0 0 15px 0 !important;
        border-bottom: 1px solid #f1f1f1 !important;
    }
    
    .primary-menu > li > a {
        padding: 10px 0 !important;
        display: block !important;
        color: #333 !important;
        position: relative !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        margin-bottom: 5px !important;
    }
    
    /* 移动端隐藏语言切换和导航按钮 */
    .language-switch,
    .nav-buttons {
        display: none !important;
    }
    
    /* 移动端子导航样式 - 直接显示，不需要点击展开 */
    .submenu-container,
    .custom-dropdown-menu,
    .simple-submenu,
    .sub-menu {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        margin: 5px 0 0 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        max-height: none !important; /* 允许显示全部内容 */
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
        display: block !important;
    }
    
    /* 子菜单项样式简化 */
    .submenu-item,
    .sub-menu li {
        margin: 5px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        height: auto !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-left: none !important;
    }
    
    /* 简化子导航链接样式 */
    .submenu-item-content h4 a,
    .sub-menu li a,
    .custom-dropdown-menu ul li a {
        display: block !important;
        padding: 8px 15px !important;
        background: #f8f9fa !important;
        border-radius: 5px !important;
        color: #333 !important;
        font-size: 14px !important;
        font-weight: normal !important;
        text-align: center !important;
    }
    
    /* 隐藏不必要的元素 */
    .submenu-intro,
    .submenu-item-icon,
    .submenu-item-content p {
        display: none !important;
    }
    
    /* 简化子菜单结构 */
    .submenu-wrapper {
        padding: 0 !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .submenu-items {
        width: 100% !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .submenu-column {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 移动端菜单按钮样式 - 确保在所有移动设备上显示 */
    .menu-toggle {
        display: block !important;
        width: 30px !important;
        height: 30px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1000 !important;
    }
    
    .menu-toggle span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #28a745 !important;
        margin: 6px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 3px !important;
    }
    
    /* 激活状态的汉堡菜单样式 */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px) !important;
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px) !important;
    }
    
    /* 隐藏移动端不需要的元素 */
    .mobile-quick-links {
        display: none !important; /* 使用主导航中的快速入口，不需要额外显示 */
    }
}

/* 确保在所有移动设备上显示菜单按钮 */
@media (max-width: 480px) {
    /* 确保菜单图标正常显示 */
    .menu-toggle {
        display: block !important;
        right: 10px !important;
    }
    
    /* 调整Logo大小 */
    .site-logo {
        height: 25px !important;
        margin-right: 10px !important;
    }
    
    /* 移动端导航样式进一步优化 */
    .nav-menu {
        padding-top: 60px !important; /* 减小顶部间距 */
    }
    
    .primary-menu > li > a {
        font-size: 15px !important; /* 减小字体大小 */
        padding: 10px 0 !important; /* 减小内边距 */
    }
}

/* 桌面端导航箭头处理 */
@media (min-width: 769px) {
    /* 隐藏submenu-toggle，只保留一个箭头 */
    .submenu-toggle {
        display: none !important;
    }
    
    /* 确保菜单链接中的箭头正确显示 */
    .menu-link i.nav-arrow {
        display: inline-block;
        margin-left: 5px;
        font-size: 12px;
        color: #999;
    }
}

/* 小屏幕移动设备的额外优化 */
@media (max-width: 480px) {
    .menu-toggle {
        right: 10px;
    }
    
    .site-logo {
        height: 24px;
    }
    
    .nav-menu {
        width: 260px;
    }
    
    .primary-menu > li > a {
        padding: 10px 0;
    }
    
    /* 小屏幕移动设备的页脚优化 */
    .friendship-links, .official-websites {
        width: 100%;
    }
    
    .links-list, .websites-list {
        justify-content: center;
    }
    
    .company-info {
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .qrcode-area h4 {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .contact-item i {
        margin-right: 8px;
    }
    
    .contact-item span {
        font-size: 14px;
    }
}

.quick-links-toggle, .language-toggle {
    height: 40px;
    display: flex;
    align-items: center;
}

/* 语言切换下拉菜单样式 */
.language-toggle-group {
    position: relative;
}

.language-toggle-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-toggle-main img {
    width: 24px;
    height: 24px;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
    z-index: 1000;
    width: 180px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.language-dropdown .language-toggle {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    margin: 5px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-dropdown .language-toggle:hover {
    background-color: rgba(40, 167, 69, 0.1);
}

.language-dropdown .language-toggle img {
    width: 30px;
    height: 20px;
    margin-right: 10px;
    border-radius: 4px;
}

.language-dropdown .language-toggle span {
    font-size: 14px;
    color: #333;
}

/* 确保下拉菜单在移动端和桌面端都正常显示 */
@media (max-width: 768px) {
    .language-dropdown {
        position: static;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
    }
}

/* 语言选择弹窗样式 */
.language-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.language-modal {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 300px;
    max-width: 90%;
    padding: 20px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.language-modal-overlay.active .language-modal {
    transform: scale(1);
}

.language-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

.language-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.language-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.language-modal-close:hover {
    color: #28a745;
}

.language-modal-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: rgba(40, 167, 69, 0.1);
}

.language-option img {
    width: 40px;
    height: 30px;
    margin-right: 15px;
    border-radius: 4px;
}

.language-option span {
    font-size: 16px;
    color: #333;
}

/* 响应式容器宽度调整 */
@media (max-width: 1400px) {
    .container.auto-full-width {
        max-width: 100% !important;
        padding: 0 15px !important;
    }
}

/* 翻译后的响应式调整 */
.translated-content .container {
    transition: max-width 0.3s ease;
} 