/* ========== MT4 下载中心 - 全局样式 ========== */

:root {
    --primary: #0078D7;
    --primary-dark: #005A9E;
    --primary-light: #E8F4FD;
    --accent: #00B4D8;
    --accent-orange: #FF8C00;
    --accent-green: #22C55E;
    --accent-red: #EF4444;
    --bg: #F8FAFC;
    --bg-white: #FFFFFF;
    --text: #1E293B;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ========== 按钮 ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 120, 215, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 215, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-icon {
    font-size: 1.1em;
}

/* ========== 顶部通知栏 ========== */

.top-bar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    text-align: center;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-text {
    display: inline-block;
    animation: slideText 20s linear infinite;
}

@keyframes slideText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========== 导航栏 ========== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.5px;
    box-shadow: 0 2px 8px rgba(0,120,215,0.3);
}

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

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-download-top {
    padding: 10px 22px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,120,215,0.3);
}

.btn-download-top:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,120,215,0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px 24px 20px;
    animation: slideDown 0.3s ease;
}

.mobile-menu.open {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ========== Hero ========== */

.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #F0F7FF 0%, #F8FAFC 100%);
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0,120,215,0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-lighter);
    margin-top: 2px;
}

/* Hero 视觉 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #F1F5F9;
    border-bottom: 1px solid var(--border);
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CBD5E1;
}

.hero-card-dots span:first-child { background: #FF5F56; }
.hero-card-dots span:nth-child(2) { background: #FFBD2E; }
.hero-card-dots span:nth-child(3) { background: #27C93F; }

.hero-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 8px;
}

.hero-card-body {
    padding: 20px;
}

.chart-mockup {
    height: 160px;
    background: linear-gradient(180deg, #FAFBFE 0%, #F0F4F8 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 12px;
}

.chart-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M0,120 C40,100 60,80 100,85 C140,90 160,60 200,55 C240,50 260,70 300,50 C340,30 370,40 400,25' fill='none' stroke='%230078D7' stroke-width='2' opacity='0.6'/%3E%3Cpath d='M0,120 C40,100 60,80 100,85 C140,90 160,60 200,55 C240,50 260,70 300,50 C340,30 370,40 400,25 L400,160 L0,160 Z' fill='%230078D7' opacity='0.05'/%3E%3C/svg%3E") no-repeat center/cover;
}

.chart-bar {
    width: 8%;
    border-radius: 3px 3px 0 0;
    min-height: 10px;
    position: relative;
    z-index: 1;
}

.chart-bar-1 { height: 40%; background: var(--accent-green); }
.chart-bar-2 { height: 55%; background: var(--accent-red); }
.chart-bar-3 { height: 35%; background: var(--accent-green); }
.chart-bar-4 { height: 60%; background: var(--accent-green); }
.chart-bar-5 { height: 45%; background: var(--accent-red); }
.chart-bar-6 { height: 70%; background: var(--accent-green); }
.chart-bar-7 { height: 50%; background: var(--accent-green); }
.chart-bar-8 { height: 65%; background: var(--accent-red); }
.chart-bar-9 { height: 80%; background: var(--accent-green); }
.chart-bar-10 { height: 55%; background: var(--accent-green); }

.hero-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.info-row .up { color: var(--accent-green); }
.info-row .down { color: var(--accent-red); }

.floating-badge {
    position: absolute;
    padding: 8px 16px;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.fb-1 { top: 10%; right: -10px; animation-delay: 0s; }
.fb-2 { bottom: 30%; left: -20px; animation-delay: 1s; }
.fb-3 { bottom: 5%; right: 5%; animation-delay: 2s; }

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

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 50px;
    left: -30px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-orange);
    top: 50%;
    left: 40%;
    opacity: 0.08;
}

/* ========== 通用 Section ========== */

.section {
    padding: 80px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== 下载中心 ========== */

.section-download {
    background: var(--bg-white);
}

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

.download-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.windows-icon { background: linear-gradient(135deg, #E8F4FD, #D1E9FA); }
.mac-icon { background: linear-gradient(135deg, #F0F0F0, #E0E0E0); }
.ios-icon { background: linear-gradient(135deg, #FDE8EC, #FAD1D9); }
.android-icon { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.web-icon { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.server-icon { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }

.download-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.download-card-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
    min-height: 44px;
}

.download-card-features {
    text-align: left;
    margin-bottom: 20px;
}

.download-card-features li {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 0;
    border-bottom: 1px dashed #f1f5f9;
}

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

.download-card-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.version-tag {
    padding: 3px 10px;
    background: #F1F5F9;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.update-date {
    padding: 3px 10px;
    background: #ECFDF5;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
}

/* ========== 中文专区 ========== */

.section-chinese {
    background: linear-gradient(180deg, #F8FAFC 0%, #F0F7FF 100%);
}

.chinese-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.chinese-tab {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.chinese-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.chinese-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,120,215,0.3);
}

.chinese-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.chinese-tab-content.active {
    display: block;
}

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

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

.chinese-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.chinese-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.chinese-card-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.chinese-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.chinese-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    min-height: 66px;
}

.chinese-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.chinese-card-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 中文社区 */
.chinese-community {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a56db 50%, #1e3a8a 100%);
    border-radius: var(--radius-xl);
    padding: 50px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.chinese-community::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.community-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.chinese-community h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.chinese-community p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.community-stat {
    text-align: center;
}

.cs-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.cs-label {
    font-size: 13px;
    opacity: 0.8;
}

.chinese-community .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.chinese-community .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* ========== 安装指南 ========== */

.section-guide {
    background: var(--bg-white);
}

.guide-steps {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.guide-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0.2;
}

.guide-step {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    position: relative;
}

.guide-step:last-child {
    margin-bottom: 0;
}

.guide-step-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,120,215,0.3);
    z-index: 1;
}

.guide-step-content {
    flex: 1;
    background: #F8FAFC;
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: var(--transition);
}

.guide-step-content:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.guide-step-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.guide-step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== FAQ ========== */

.section-faq {
    background: linear-gradient(180deg, #F8FAFC 0%, #F0F7FF 100%);
}

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

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-lighter);
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F1F5F9;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== 页脚 ========== */

.footer {
    background: #0F172A;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

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

.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.risk-warning {
    margin-top: 8px;
    font-size: 12px !important;
}

/* ========== 下载弹窗 ========== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-xl);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-red);
    color: #fff;
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

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

.modal-progress {
    height: 6px;
    background: #F1F5F9;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.modal-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 2s ease;
}

.modal-tip {
    font-size: 12px;
    color: var(--text-lighter);
    background: #F8FAFC;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.5;
}

/* ========== 响应式 - 平板 ========== */

@media (max-width: 1024px) {
    .hero-title { font-size: 42px; }
    .hero .container { gap: 30px; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .chinese-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

/* ========== 响应式 - 手机 ========== */

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .container { padding: 0 16px; }

    .top-bar { font-size: 12px; padding: 6px 0; }
    .top-bar-text { font-size: 12px; }

    .nav-desktop { display: none; }
    .btn-download-top { display: none; }
    .menu-toggle { display: flex; }

    .logo-icon { width: 36px; height: 36px; font-size: 12px; }
    .logo-text { font-size: 16px; }

    .hero {
        padding: 40px 0 60px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
        text-align: center;
    }

    .hero-desc {
        font-size: 15px;
        text-align: center;
        margin: 0 auto 24px;
    }

    .hero-actions {
        justify-content: center;
        margin-bottom: 30px;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
    }

    .stat-num { font-size: 26px; }

    .hero-visual { order: -1; }
    .hero-card { max-width: 340px; }
    .floating-badge { font-size: 11px; padding: 6px 12px; }
    .fb-1 { right: -5px; }
    .fb-2 { left: -10px; }

    .section { padding: 50px 0; }

    .section-title { font-size: 26px; }
    .section-desc { font-size: 14px; }

    .download-grid { grid-template-columns: 1fr; gap: 16px; }
    .download-card { padding: 24px 20px; }
    .download-card-desc { min-height: auto; }

    .chinese-tabs { gap: 6px; }
    .chinese-tab { padding: 8px 16px; font-size: 13px; }
    .chinese-grid { grid-template-columns: 1fr; gap: 12px; }
    .chinese-card { padding: 22px 18px; }
    .chinese-card p { min-height: auto; }

    .chinese-community { padding: 36px 20px; }
    .chinese-community h3 { font-size: 22px; }
    .community-stats { gap: 24px; }
    .cs-num { font-size: 22px; }

    .guide-step { gap: 16px; }
    .guide-step-num { width: 44px; height: 44px; font-size: 15px; }
    .guide-step-content { padding: 16px 18px; }
    .guide-steps::before { left: 22px; }

    .faq-question { padding: 16px 18px; font-size: 15px; }

    .footer { padding: 40px 0 20px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-col h5 { font-size: 14px; }
    .footer-col a { font-size: 13px; }

    .modal { padding: 32px 24px; }
    .modal-title { font-size: 19px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
    .section-title { font-size: 22px; }
    .footer-links { grid-template-columns: 1fr; }
    .community-stats { gap: 16px; }
}

/* ========== 滚动动画 ========== */

.section, .download-card, .chinese-card, .guide-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible, .download-card.visible, .chinese-card.visible, .guide-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
