/* ========== 基础样式 ========== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-menu a:hover { color: var(--primary); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    display: flex;
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s;
}

.lang-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* ========== Hero区域 ========== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0edff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%232563eb" opacity="0.1"/><circle cx="80" cy="80" r="3" fill="%232563eb" opacity="0.1"/><circle cx="60" cy="30" r="1.5" fill="%232563eb" opacity="0.1"/></svg>');
    background-size: 100px 100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

.hero-feature i { color: var(--success); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover { background: var(--bg-light); }

.software-screenshot {
    background: #1a1a1a;
    border-radius: var(--radius-lg);
    padding: 15px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    border: 3px solid #333;
}

.software-screenshot img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.hero-wave path { fill: var(--bg); }

/* ========== 统计区域 ========== */
.stats {
    padding: 60px 0;
    background: var(--bg);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat-label {
    margin-top: 10px;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== 功能特点 ========== */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* ========== 支持模式 ========== */
.modes {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.mode-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mode-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(37,99,235,0.15);
}

.mode-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-light);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.mode-badge.hot {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.mode-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 25px;
}

.mode-card.featured .mode-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.mode-icon i {
    font-size: 32px;
    color: var(--primary);
}

.mode-card.featured .mode-icon i {
    color: white;
}

.mode-card h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.mode-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

.mode-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.mode-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mode-features li:last-child {
    border-bottom: none;
}

.mode-features i {
    color: var(--success);
    font-size: 14px;
}

.mode-note {
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.mode-card.featured .mode-note {
    background: rgba(37,99,235,0.1);
    color: var(--primary);
}

/* 对比表格 */
.modes-compare {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: var(--secondary);
    color: white;
    font-weight: 600;
}

.compare-table th:first-child {
    text-align: left;
}

.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: var(--bg-light);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge.green {
    background: rgba(16,185,129,0.15);
    color: #059669;
}

.badge.blue {
    background: rgba(37,99,235,0.15);
    color: var(--primary);
}

.badge.yellow {
    background: rgba(245,158,11,0.15);
    color: #d97706;
}

/* ========== 支持平台 ========== */
.platforms {
    padding: 100px 0;
    background: var(--bg);
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.platform-card {
    background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    margin-bottom: 20px;
}

.platform-text {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-card h3 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.platform-card ul {
    list-style: none;
    text-align: left;
}

.platform-card li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

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

.brokers-section h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.brokers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.broker-tag {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text);
    border: 1px solid var(--border);
}

/* ========== 视频教程 ========== */
.tutorial {
    padding: 100px 0;
    background: var(--bg-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.video-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    height: 180px;
    background: linear-gradient(135deg, var(--secondary), #1e3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.video-thumbnail i {
    font-size: 60px;
    color: white;
    opacity: 0.8;
    transition: all 0.3s;
}

.video-thumbnail:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-card h4 {
    padding: 20px;
    text-align: center;
    color: var(--secondary);
}

/* ========== 下载区域 ========== */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary), #1e3a5f);
}

.download .section-title,
.download .section-desc {
    color: white;
}

.download .section-desc { opacity: 0.8; }

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.download-card.featured {
    border: 3px solid var(--accent);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.download-icon i {
    font-size: 32px;
    color: var(--primary);
}

.download-card h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.download-card > p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

.download-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.download-features li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.download-version {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-download {
    width: 100%;
    padding: 16px;
    background: var(--bg-light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-download:hover {
    background: var(--primary);
    color: white;
}

.btn-download.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.download-note {
    text-align: center;
    margin-top: 40px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.download-note i { margin-right: 8px; }

/* ========== 重要声明 ========== */
.disclaimer-section {
    padding: 60px 0;
    background: var(--bg);
}

.disclaimer-box {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius);
    padding: 30px 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.disclaimer-content h3 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 20px;
}

.disclaimer-content p {
    color: var(--text);
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

/* ========== 联系我们 ========== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-single {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-single .contact-card {
    max-width: 400px;
    width: 100%;
}

.contact-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 24px;
    color: var(--primary);
}

.contact-card h4 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 14px;
}



/* ========== 页脚 ========== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-brand .logo { margin-bottom: 15px; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand .logo-text { color: white; }
.footer-brand p { color: rgba(255,255,255,0.7); }

.footer-links h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links a,
.footer-links span {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.disclaimer {
    margin-top: 15px;
    font-size: 12px !important;
    color: rgba(255,255,255,0.4) !important;
}

/* ========== 视频弹窗 ========== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active { display: flex; }

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.video-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.video-close:hover {
    color: var(--primary);
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .hero-features { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 32px; }
    .hero-features { flex-direction: column; gap: 10px; }
    .features-grid { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; }
    .mode-card { padding: 30px 20px; }
    .compare-table th, .compare-table td { padding: 12px 10px; font-size: 13px; }
    .platform-cards { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .section-title { font-size: 28px; }
    .stat-number { font-size: 36px; }
    .disclaimer-box {
        flex-direction: column;
        padding: 25px 20px;
        gap: 15px;
        text-align: center;
    }
    .disclaimer-icon {
        margin: 0 auto;
    }
    .disclaimer-content h3 {
        font-size: 18px;
    }
    .disclaimer-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .contact-grid { grid-template-columns: 1fr; }
    .compare-table th, .compare-table td { padding: 10px 8px; font-size: 12px; }
}
