:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --dark-bg: #111827;
}

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

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 禁止水平滚动 */
    width: 100%;
    min-height: 100vh;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 导航栏全屏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1500 !important;
    backdrop-filter: blur(10px);
}

.navbar .container {
    max-width: 100%;
    padding: 0 50px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo-container {
    padding: 10px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-link img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2000 !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-links a i {
    font-size: 1.2rem;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.nav-links a:hover i {
    transform: scale(1.1);
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
    z-index: 2001 !important;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
}

.language-dropdown {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    width: 150px;
    position: absolute !important;
    z-index: 2002 !important;
    top: 100% !important;
    right: 0 !important;
    margin-top: 8px !important;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.language-dropdown a:hover {
    background-color: #f5f5f5;
}

/* 汉堡菜单按钮样式 */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    /* 汉堡菜单容器 */
    .hamburger {
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        position: relative !important;
        cursor: pointer !important;
        display: block !important;
        margin-left: 10px !important;
    }

    /* 汉堡菜单线条 */
    .hamburger-line {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        background-color: #000000 !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        opacity: 1 !important;
    }

    /* 三条线的位置 */
    .hamburger-line:nth-child(1) {
        top: 14px !important;
    }

    .hamburger-line:nth-child(2) {
        top: 21px !important;
    }

    .hamburger-line:nth-child(3) {
        top: 28px !important;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .navbar .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    /* 汉堡菜单按钮 */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        cursor: pointer;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    /* 汉堡菜单激活状态 */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* 调整其他元素在移动端的显示 */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 44px;
    }

    /* 隐藏商户登录按钮 */
    .btn-login {
        display: none !important;
    }

    /* 语言切换按钮样式 */
    .current-lang {
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        width: 120px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .current-lang i {
        margin-right: 6px !important;
    }

    /* 汉堡菜单 */
    .hamburger {
        width: 44px;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 10px !important;
        border-radius: 8px !important;
    }
}

/* 主页横幅样式 */
.hero {
    width: 100vw; /* 使用视口宽度 */
    min-height: 100vh;
    position: relative;
    overflow: hidden; /* 防止内容溢出 */
    background-image: url('https://img.freepik.com/free-photo/global-business-internet-network-connection-iot-internet-things-business-intelligence-concept-business-global-network-futuristic-technology-background-ai-generative_1258-176762.jpg');
    /* 备选背景图：
    https://img.freepik.com/free-photo/digital-money-transfer-technology-global-currency-exchange-digital-payment-abstract-background_90220-1134.jpg
    
    */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* 改为随页面滚动 */
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    z-index: 1 !important;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    z-index: 2 !important;
}

.hero .container {
    position: relative;
    z-index: 3 !important;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-buttons {
    animation: fadeInUp 1s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
    display: flex;
    justify-content: center;
    gap: 20px; /* 统一按钮间距 */
}

.cta-buttons a {
    text-decoration: none;
    padding: 1rem 2.5rem; /* 统一按钮内边距 */
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    min-width: 200px; /* 统一按钮最小宽度 */
    display: inline-block;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    margin-right: 1rem;
    text-decoration: none;
}

.btn-primary i {
    font-size: 1.2rem;
}

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

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

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

/* 特点部分样式 */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 特点部分整体样式 */
.features {
    padding: 6rem 0;
    background: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card img {
        width: 60px;
        height: 60px;
    }
}

/* 安全支付部分样式 */
.security-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(45, 85, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

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

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.security-content {
    position: relative;
}

.glowing-text {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #7dd3fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.gradient-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.security-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #60a5fa;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.floating-coins {
    position: relative;
    height: 400px;
    width: 100%;
}

.coin {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: float 6s ease-in-out infinite;
}

.coin:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.coin:nth-child(2) {
    top: 40%;
    left: 50%;
    animation-delay: -2s;
}

.coin:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: -4s;
}

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

.security-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .glowing-text {
        font-size: 2rem;
    }
    
    .floating-coins {
        height: 300px;
    }
    
    .coin {
        width: 60px;
        height: 60px;
    }
}

/* FAQ 部分样式 */
.faq {
    padding: 6rem 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0,0,0,0.02);
}

.faq-answer p {
    margin: 0;
    padding: 1.5rem 2rem;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .faq-question i {
    color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }

    .faq h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* 联系部分样式 */
.contact {
    padding: 6rem 0;
    text-align: center;
    background: var(--dark-bg);
    color: white;
}

/* 页脚样式优化 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.company-info {
    color: #999;
    line-height: 1.6;
}

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

.footer-section {
    min-width: 160px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    color: #999;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.telegram-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 20px;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.copyright-left, .copyright-right {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-info {
        padding-right: 0;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

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

    .footer-section {
        min-width: unset;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .company-details p,
    .compliance-info p {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .telegram-link {
        justify-content: center;
    }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .btn-login {
        margin-top: 1rem;
    }
}

/* 更新免费入驻部分样式 */
.register {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: white;
    position: relative;
    overflow: hidden;
}

.register::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://img.freepik.com/free-vector/gradient-network-connection-background_23-2148865392.jpg');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.register-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.register h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    font-size: 2rem;
    color: #64b5f6;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    color: #90caf9;
    transform: scale(1.1);
}

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.register-btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #2196f3, #1976d2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    background: linear-gradient(45deg, #1e88e5, #1565c0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .register {
        padding: 4rem 0;
    }

    .register h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 1.5rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }
}

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

/* 添加 Telegram 链接样式 */
.telegram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.telegram-link:hover {
    color: #0088cc; /* Telegram 品牌色 */
}

.telegram-link i {
    color: inherit;
}

/* 更新弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999; /* 确保在最上层 */
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important; /* 强制显示 */
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

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

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease forwards;
}

/* 更新语言切换样式 */
.language-selector {
    position: relative;
    margin-left: 20px;
    z-index: 1002;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #eee;
    border-radius: 4px;
    color: inherit;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 14px;
    min-width: 120px;
    justify-content: space-between;
}

.current-lang i {
    margin-right: 5px;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
}

.language-dropdown.show {
    display: block !important;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    justify-content: center;
    white-space: nowrap;
}

.language-dropdown a:hover {
    background-color: #f5f5f5;
}

/* 添加箭头指示器 */
.current-lang::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
    }
    
    .current-lang {
        min-width: 100px;
    }
    
    .language-dropdown {
        width: 100%;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    gap: 10px;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-container img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

/* 去掉链接的默认样式 */
.logo-link:active,
.logo-link:visited {
    color: #333;
}

/* 去掉点击时的轮廓 */
.logo-link:focus {
    outline: none;
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 30px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    /* Banner内容区域 */
    .hero-content {
        padding: 60px 20px !important; /* 减少上下内边距 */
    }

    .hero-content h1 {
        font-size: 1.8rem !important; /* 减小标题字体 */
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .hero-content p {
        font-size: 1rem !important; /* 减小副标题字体 */
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
    }

    /* 按钮样式调整 */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important; /* 按钮垂直排列 */
        gap: 10px !important;
        padding: 0 20px !important;
    }

    .hero-btn {
        width: 100% !important; /* 按钮占满宽度 */
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
}

/* 更小屏幕的额外优化 */
@media (max-width: 375px) {
    .hero-content {
        padding: 40px 15px !important;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
    }
}

/* 移动端基础样式 */
@media (max-width: 768px) {
    .hero-content {
        padding: 40px 15px !important;
        min-width: 320px !important; /* 设置最小宽度 */
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        word-break: break-word !important; /* 允许单词换行 */
    }

    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
        word-break: break-word !important;
    }
}

/* 特小屏幕优化 (350px) */
@media (max-width: 350px) {
    .hero-content {
        padding: 30px 12px !important;
    }

    .hero-content h1 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }

    /* 按钮样式调整 */
    .hero-buttons {
        padding: 0 10px !important;
    }

    .hero-btn {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }

    /* 导航栏调整 */
    .current-lang {
        font-size: 0.85rem !important;
        padding: 0 12px !important;
        width: 110px !important;
    }

    .hamburger {
        width: 40px !important;
        height: 40px !important;
    }
}

/* 移动端样式 */
@media (max-width: 768px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 40px 15px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    /* 确保内容不会造成水平滚动 */
    .hero-content h1,
    .hero-content p,
    .hero-buttons {
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
}

/* 特小屏幕优化 */
@media (max-width: 350px) {
    .hero-content {
        padding: 30px 12px !important;
    }
}