/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局动画定义 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

body {
    font-family: 'Source Han Sans CN', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1A1A1A;
    background-image: url('images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 为body添加半透明黑色遮罩，确保文本可读性 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    z-index: -1;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(10px);
    height: 80px;
    z-index: 1000;
    border-bottom: 1px solid #2D2D2D;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    height: 70px;
    border-bottom: 1px solid rgba(45, 45, 45, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    width: 200px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* 桌面端导航 */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-desktop a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
    display: inline-block;
}

.nav-desktop a:hover {
    color: #409EFF;
    transform: translateY(-2px);
}

.nav-desktop a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #409EFF;
    transition: width 0.3s ease;
}

.nav-desktop a:hover::before {
    width: 100%;
}

.nav-desktop a.active {
    color: #409EFF;
}

.nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #409EFF;
}

/* 中英文切换按钮样式 */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 20px;
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.95), rgba(26, 26, 26, 0.95));
    border-radius: 28px;
    padding: 4px;
    border: 1px solid rgba(64, 158, 255, 0.25);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #B0B0B0;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 65px;
    min-height: 42px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 158, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.lang-btn:hover {
    color: #FFFFFF;
    background: rgba(64, 158, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(64, 158, 255, 0.2);
}

.lang-btn:hover::before {
    left: 100%;
}

.lang-btn.active {
    background: linear-gradient(135deg, #409EFF, #66B1FF);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4),
                0 2px 8px rgba(64, 158, 255, 0.2);
    transform: translateY(-1px);
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* 页面标题区 */
.page-header {
    margin-top: 120px;
    margin-bottom: 32px;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-header h1 {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 18px;
    color: #999999;
}

/* 敬请期待内容 */
.coming-soon {
    padding: 60px 0;
    text-align: center;
}

.coming-soon-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(24, 24, 24, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.light-icon {
    margin-bottom: 32px;
    animation: pulse 3s infinite;
    transition: all 0.3s ease;
}

.light-icon:hover {
    animation: float 3s ease-in-out infinite;
}

/* 移除重复的pulse动画定义，已在全局动画中定义 */

.coming-soon h2 {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.coming-soon p {
    font-size: 16px;
    color: #999999;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* 联系信息 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wechat-qrcode {
    flex-direction: column;
    text-align: center;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.qrcode-image:hover {
    transform: scale(1.05);
}

.contact-item:hover {
    background-color: rgba(64, 158, 255, 0.1);
    border-color: #409EFF;
    transform: translateX(5px);
}

.contact-item .contact-icon {
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon {
    flex-shrink: 0;
}

/* 页脚样式 */
.footer {
    background-color: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(10px);
    margin-top: 80px;
    padding: 40px 0;
    min-height: 120px;
}

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

.brand-name {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 8px;
}

.copyright {
    font-size: 14px;
    color: #999999;
}

.footer-right {
    display: flex;
    gap: 16px;
}

.social-icon {
    color: #999999;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.social-icon:hover {
    color: #409EFF;
}

/* 浮动联系按钮 */
.floating-buttons {
    position: fixed;
    right: 24px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #409EFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    background-color: #3385E6;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(64, 158, 255, 0.4);
    animation: float 3s ease-in-out infinite;
}

.floating-btn:active {
    transform: scale(0.95);
}

/* 波纹效果 */
.floating-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:active::after {
    width: 120%;
    height: 120%;
}

/* 响应式设计 - 大屏幕 */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 992px) {
    .container {
        max-width: 800px;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .contact-item:last-child {
        grid-column: span 2;
    }
}

/* 移动端菜单样式 - 默认隐藏 */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #1A1A1A;
    z-index: 999;
    padding: 100px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}

.mobile-logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
}

.mobile-logo-image {
    width: 60px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-mobile a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 12px 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #2D2D2D;
}

.nav-mobile a:hover {
    color: #409EFF;
    padding-left: 10px;
}

.nav-mobile a.active {
    color: #409EFF;
}

/* 菜单遮罩层 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* 关闭按钮 */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-menu svg {
    width: 24px;
    height: 24px;
}

/* 响应式设计 - 小平板和手机 */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* 导航栏 - 移动端 */
    .navbar {
        height: 60px;
        padding: 0 20px;
    }
    
    /* 中英文切换按钮响应式样式 */
    .lang-switcher {
        margin-right: 10px;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 50px;
        min-height: 36px;
        border-radius: 18px;
    }
    
    .menu-toggle {
        display: block;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle svg {
        width: 24px;
        height: 24px;
    }
    
    /* 页面标题区 */
    .page-header {
        margin-top: 92px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    /* 敬请期待内容区 */
    .coming-soon {
        padding: 40px 0;
    }
    
    .coming-soon-content {
        max-width: 90%;
    }
    
    .light-icon {
        width: 80px;
        height: 80px;
    }
    
    /* 联系信息 */
    .contact-info {
        gap: 24px;
    }
    
    .contact-item {
        text-align: center;
    }
    
    /* 页脚 */
    .footer {
        min-height: 160px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    /* 浮动按钮 */
    .floating-buttons {
        right: 16px;
        bottom: 24px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 0 16px;
    }
    
    .page-header {
        margin-top: 80px;
    }
    
    .page-header h1 {
        font-size: 22px;
    }
    
    .coming-soon {
        padding: 30px 0;
    }
    
    .light-icon {
        width: 60px;
        height: 60px;
    }
    
    .floating-buttons {
        right: 16px;
        bottom: 20px;
    }
    
    .floating-btn {
        width: 44px;
        height: 44px;
    }
}

/* 加载字体定义 */
@font-face {
    font-family: 'Source Han Sans CN';
    font-style: normal;
    font-weight: 400;
    src: local('Source Han Sans CN Regular'), local('SourceHanSansCN-Regular');
}

@font-face {
    font-family: 'Source Han Sans CN';
    font-style: normal;
    font-weight: 700;
    src: local('Source Han Sans CN Bold'), local('SourceHanSansCN-Bold');
}

/* 确保所有点击区域至少48px */
button, a {
    min-width: 48px;
    min-height: 48px;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}