/* ========== 重置和基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

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

/* ========== 白名单确认对话框 ========== */
#domain-confirm-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.domain-confirm-content {
    background: white;
    border-radius: 15px;
    padding: 35px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 4px solid #ffcc00;
    position: relative;
}

.domain-confirm-content h3 {
    color: #0c2e6e;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.domain-confirm-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.domain-info {
    background: #f5f7fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #0c2e6e;
    text-align: left;
}

.domain-info strong {
    display: block;
    color: #0c2e6e;
    margin-bottom: 5px;
}

.domain-info a {
    color: #1a4a9e;
    word-break: break-all;
    display: block;
}

.security-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 6px;
}

.security-status.verified {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.security-status.unverified {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
}

.security-status i {
    font-size: 1.2rem;
}

.domain-confirm-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.domain-confirm-btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 25px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

#confirm-continue-btn {
    background: #0c2e6e;
    color: white;
}

#confirm-continue-btn:hover {
    background: #1a4a9e;
}

#confirm-cancel-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
}

#confirm-cancel-btn:hover {
    background: #e9ecef;
    border-color: #bbb;
}

.remember-choice {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.remember-choice input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-choice label {
    cursor: pointer;
}

/* ========== 头部样式 ========== */
header {
    background: linear-gradient(135deg, #b3202e 0%, #8b1a23 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* LOGO样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* 电脑端隐藏LOGO文字 */
.logo-text {
    display: none;
}

/* 汉堡菜单按钮 - 强制显示 */
.menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    outline: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.menu-toggle span {
    display: block !important;
    width: 100%;
    height: 3px;
    background-color: white !important;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

/* 汉堡菜单动画效果 */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* ========== 移动端导航菜单 ========== */
.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #b3202e 0%, #8b1a23 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
}

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

.mobile-nav-header {
    display: flex;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

.mobile-logo-text {
    display: flex;
    flex-direction: column;
}

.mobile-logo-text h2 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 3px;
}

.mobile-logo-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.mobile-nav li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
    display: block;
    padding: 18px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

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

/* 语言切换按钮 */
.lang-buttons {
    display: flex;
    margin: 30px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    gap: 10px;
}

.lang-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-align: center;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: #ffcc00;
    color: #b3202e;
    font-weight: 600;
}

/* 移动端操作按钮 */
.mobile-nav-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 按钮通用样式 */
.btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: none;
    font-family: inherit;
}

.btn-login {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-open-account {
    background: linear-gradient(to right, #ffcc00, #ff9900);
    color: #b3202e;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.btn-open-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

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

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

/* ========== 英雄区域 ========== */
.hero {
    background: linear-gradient(rgba(179, 32, 46, 0.85), rgba(179, 32, 46, 0.9)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    position: relative;
}

.hero h2 {
    min-height: 100px;
    margin-bottom: 15px;
}

.hero p {
    min-height: 60px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-family: inherit;
}

.btn-hero-primary {
    background: linear-gradient(to right, #ffcc00, #ff9900);
    color: #b3202e;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ========== 主要内容区 ========== */
.main-content {
    padding: 20px 0 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    min-height: 60px;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ffcc00;
    margin: 15px auto;
    border-radius: 2px;
}

.section-title p {
    min-height: 40px;
    max-width: 750px;
    margin: 0 auto;
}

/* ========== 公司简介 ========== */
.company-intro {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
    margin-bottom: 80px;
    overflow: hidden;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    min-height: 60px;
    margin-bottom: 25px;
}

.intro-text p {
    min-height: 100px;
    margin-bottom: 20px;
}

.intro-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s;
}

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

/* ========== 业务板块 ========== */
.services {
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s, box-shadow 0.4s;
    border-top: 5px solid #b3202e;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #b3202e, #ffcc00);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.service-card:hover:before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 2.8rem;
    color: #b3202e;
    margin-bottom: 25px;
}

.service-card h3 {
    min-height: 40px;
    margin-bottom: 18px;
}

.service-card p {
    min-height: 120px;
}

/* ========== 成就历史 ========== */
.achievements {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
    margin-bottom: 80px;
}

.achievement-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 40px;
}

.achievement-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #b3202e, #ffcc00);
    border-radius: 2px;
}

.achievement-item {
    position: relative;
    margin-bottom: 45px;
    padding-left: 35px;
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.achievement-item:hover {
    transform: translateX(10px);
}

.achievement-item:before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #b3202e;
    border: 4px solid #ffcc00;
    z-index: 2;
}

.achievement-year {
    min-height: 30px;
    margin-bottom: 8px;
}

.achievement-title {
    min-height: 30px;
    margin-bottom: 12px;
}

.achievement-desc {
    min-height: 60px;
}

/* ========== 全球业务网络 ========== */
.global-network {
    margin-bottom: 80px;
}

.global-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.city-card {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    min-width: 200px;
    border-left: 5px solid #b3202e;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

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

.city-card i {
    font-size: 2.2rem;
    color: #b3202e;
    margin-bottom: 20px;
}

.city-card h4 {
    min-height: 30px;
    margin-bottom: 8px;
}

.city-card p {
    min-height: 25px;
    margin-bottom: 5px;
}

/* ========== 安全认证徽章样式 ========== */
.security-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(179, 32, 46, 0.1);
    max-width: 1200px;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    min-width: 120px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.security-badge:hover {
    transform: translateY(-5px);
}

.security-badge i {
    font-size: 2rem;
    color: #b3202e;
    margin-bottom: 10px;
}

.security-badge span {
    min-height: 25px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.security-badge small {
    min-height: 20px;
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
}

/* ========== 监管信息强调样式 ========== */
.regulatory-highlight {
    background: linear-gradient(135deg, rgba(179, 32, 46, 0.05) 0%, rgba(255, 204, 0, 0.05) 100%);
    border-left: 4px solid #b3202e;
    padding: 25px;
    margin: 40px 0;
    border-radius: 0 10px 10px 0;
}

.regulatory-highlight h3 {
    color: #b3202e;
    margin-bottom: 15px;
    font-size: 1.4rem;
    min-height: 40px;
}

.regulatory-highlight ul {
    list-style: none;
    margin-left: 0;
}

.regulatory-highlight li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(179, 32, 46, 0.1);
    display: flex;
    align-items: center;
    min-height: 30px;
}

.regulatory-highlight li:last-child {
    border-bottom: none;
}

.regulatory-highlight li i {
    color: #ffcc00;
    margin-right: 12px;
    font-size: 0.9rem;
}

/* ========== 模拟K线图区域 ========== */
.kline-section {
    background: linear-gradient(135deg, #1a1f36 0%, #b3202e 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.kline-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 L20,30 L40,70 L60,40 L80,60 L100,20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.kline-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.kline-header h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    min-height: 50px;
}

.kline-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    min-height: 60px;
}

.kline-container {
    background: rgba(10, 15, 35, 0.7);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kline-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.kline-tab {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: default;
    transition: all 0.3s;
}

.kline-tab.active {
    background: #ffcc00;
    color: #b3202e;
}

.kline-chart-container {
    height: 300px;
    position: relative;
    margin-bottom: 20px;
    background: rgba(5, 10, 25, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.kline-chart {
    width: 100%;
    height: 100%;
    position: relative;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.price-change {
    font-size: 1.3rem;
    font-weight: 700;
}

.price-change.positive {
    color: #00ff9d;
}

.price-change.negative {
    color: #ff4d4d;
}

.market-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.market-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffcc00;
    transition: transform 0.3s;
}

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

.market-pair {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    min-height: 25px;
}

.market-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.market-change {
    font-size: 1rem;
    font-weight: 600;
}

.market-change.positive {
    color: #00ff9d;
}

.market-change.negative {
    color: #ff4d4d;
}

.kline-note {
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    min-height: 40px;
}

/* K线蜡烛动画 */
.candle {
    position: absolute;
    width: 8px;
    background: #00ff9d;
    border-radius: 2px;
    transition: all 0.5s ease;
}

.candle.negative {
    background: #ff4d4d;
}

.candle-wick {
    position: absolute;
    width: 1px;
    background: rgba(255, 255, 255, 0.7);
    left: 50%;
    transform: translateX(-50%);
}

/* ========== 客服悬浮窗 ========== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b3202e 0%, #8b1a23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(179, 32, 46, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: none;
    outline: none;
}

.chatbot-toggle:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), transparent);
    border-radius: 50%;
}

.chatbot-toggle:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(179, 32, 46, 0.5);
}

.chatbot-toggle img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.chatbot-label {
    position: absolute;
    top: -50px;
    right: 0;
    background: #b3202e;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 600;
    pointer-events: none;
}

.chatbot-toggle:hover .chatbot-label {
    opacity: 1;
}

/* ========== 页脚 ========== */
footer {
    background: linear-gradient(135deg, #8b1a23 0%, #b3202e 100%);
    color: white;
    padding: 60px 0 25px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #ffcc00;
    font-weight: 700;
    min-height: 40px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
    min-height: 25px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column a:hover {
    color: #ffcc00;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 25px;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.copyright p {
    min-height: 25px;
    margin-bottom: 5px;
}

/* ========== 页面加载保护样式 ========== */
#page-protection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f7fa;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.protection-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.protection-content {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.protection-content h2 {
    color: #b3202e;
    margin-bottom: 20px;
    font-size: 2rem;
    min-height: 50px;
}

.protection-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.1rem;
    min-height: 30px;
}

.security-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #b3202e;
    font-weight: 600;
    min-height: 30px;
}

.security-check i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #4CAF50;
}

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

/* ========== 域名切换提示 ========== */
#domain-alert {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #b3202e;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    max-width: 90%;
    width: 500px;
    animation: slideUp 0.5s ease;
    border: 2px solid #b3202e;
}

@keyframes slideUp {
    from { bottom: -100px; }
    to { bottom: 20px; }
}

.domain-alert-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.domain-alert-content span {
    font-weight: 600;
    text-align: center;
    min-height: 25px;
}

.domain-alert-content button {
    background: #b3202e;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.domain-alert-content button:hover {
    background: #8b1a23;
}

/* ========== 区域选择面板样式 ========== */
#region-switch-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.region-panel-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.region-panel-content h3 {
    color: #b3202e;
    margin-bottom: 15px;
    font-size: 1.5rem;
    min-height: 40px;
}

.region-panel-content p {
    color: #666;
    margin-bottom: 20px;
    min-height: 30px;
}

.region-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.region-option {
    padding: 15px;
    background: #f5f7fa;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.region-option:hover {
    background: #e8f4ff;
    border-color: #b3202e;
}

.region-option.active {
    background: #e8f4ff;
    border-color: #b3202e;
    color: #b3202e;
}

.region-info {
    display: flex;
    flex-direction: column;
}

.region-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: #b3202e;
    min-height: 25px;
}

.region-desc {
    font-size: 0.85rem;
    color: #666;
    min-height: 20px;
}

.region-status {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.region-status.available {
    background: #d4edda;
    color: #155724;
}

.region-status.unavailable {
    background: #f8d7da;
    color: #721c24;
}

.region-status.recommended {
    background: #fff3cd;
    color: #856404;
}

.region-panel-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.region-panel-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

#switch-region-btn {
    background: #b3202e;
    color: white;
}

#cancel-region-btn {
    background: #f8f9fa;
    color: #333;
}

/* ========== 区域图标样式 ========== */
.region-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.region-icon.hk {
    background: linear-gradient(135deg, #ff0000 0%, #ff6666 100%);
}

.region-icon.gd {
    background: linear-gradient(135deg, #00aaff 0%, #66ccff 100%);
}

.region-icon.db {
    background: linear-gradient(135deg, #00aa00 0%, #66cc66 100%);
}

.region-option-content {
    display: flex;
    align-items: center;
    flex: 1;
}

/* ========== Canvas 样式优化 ========== */
canvas {
    display: block;
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========== 响应式设计 ========== */

/* 大屏幕电脑端样式 */
@media (min-width: 993px) {
    .logo-img {
        height: 60px;
        max-width: 220px;
    }
    
    .menu-toggle {
        width: 35px;
        height: 25px;
    }
    
    .mobile-nav-container {
        width: 380px;
    }
    
    .hero {
        padding: 150px 0;
    }
    
    .kline-chart-container {
        height: 400px;
    }
}

/* 平板设备 */
@media (max-width: 992px) and (min-width: 577px) {
    .logo-img {
        height: 50px;
        max-width: 180px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kline-chart-container {
        height: 350px;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* 手机设备 */
@media (max-width: 576px) {
    .logo-img {
        height: 40px;
        max-width: 140px;
    }
    
    .menu-toggle {
        width: 28px;
        height: 20px;
        display: flex !important;
    }
    
    .mobile-nav-container {
        width: 100%;
        padding: 70px 20px 20px;
    }
    
    .hero {
        padding: 80px 0;
        border-radius: 0 0 30px 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        padding: 12px 25px;
    }
    
    .company-intro, .achievements {
        padding: 30px 20px;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .kline-chart-container {
        height: 250px;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .market-overview {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        padding: 15px;
    }
    
    .security-badge {
        min-width: 100px;
        padding: 10px;
    }
    
    .security-badge i {
        font-size: 1.5rem;
    }
    
    .lang-buttons {
        flex-direction: column;
    }
    
    .city-card {
        min-width: 150px;
        padding: 20px;
    }
    
    .chatbot-toggle {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-toggle img {
        width: 40px;
        height: 40px;
    }
    
    #domain-alert {
        width: 90%;
        padding: 12px 20px;
    }
    
    .domain-confirm-content {
        padding: 25px;
    }
    
    .domain-confirm-buttons {
        flex-direction: column;
    }
    
    .domain-confirm-btn {
        min-width: 100%;
    }
}

/* 小手机设备 */
@media (max-width: 375px) {
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
}

/* 超小手机设备 */
@media (max-width: 320px) {
    .logo-img {
        height: 30px;
        max-width: 100px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* 横屏模式 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 60px 0;
    }
    
    .mobile-nav-container {
        padding-top: 60px;
    }
}

/* ========== 打印样式（已删除隐藏汉堡菜单的代码）========== */
@media print {
    #page-protection,
    .chatbot-toggle,
    #domain-alert,
    #region-switch-panel,
    #domain-confirm-dialog {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .kline-section {
        background: white !important;
        color: black !important;
    }
}

/* ========== 修复文字溢出 ========== */
.hero h2 canvas {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
}

.hero p canvas {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

/* 确保所有canvas不溢出容器 */
canvas {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 确保汉堡菜单容器可见 */
.menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle i,
.menu-toggle span,
.menu-toggle img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 英文适配样式 */
[lang="en"] .hero h2 canvas,
.hero h2 canvas[data-lang="en"] {
    max-height: 90px;
    font-size: 28px;
}

[lang="en"] .hero p canvas,
.hero p canvas[data-lang="en"] {
    max-height: 80px;
    font-size: 16px;
    line-height: 1.4;
}