/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --secondary-color: #43a047;
    --danger-color: #e53935;
    --warning-color: #fb8c00;
    --dark-bg: #0f1419;
    --light-bg: #f5f7fa;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 桌面导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* 移动菜单 */
.mobile-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px;
}

.mobile-menu-list li {
    margin: 15px 0;
}

.mobile-menu-list a {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.btn-download-mobile {
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 10px;
}

/* ===== 主要内容 ===== */
main {
    margin-top: 70px;
}

/* Hero 区 */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(67, 160, 71, 0.05));
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* 特性卡片 */
.features {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

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

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

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 统计区 */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 快速开始 */
.quick-start {
    padding: 80px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

/* CTA 区 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* 下载页面 */
.download-section {
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.download-card {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.platform-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

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

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

.features-list li {
    padding: 8px 0;
    color: var(--text-light);
}

.features-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.qr-code {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 15px;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

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

.btn-download-large {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
}

.download-hint {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

/* Android 渠道 */
.android-channels {
    padding: 60px 0;
    background: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.channel-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: white;
}

.channel-item i {
    font-size: 32px;
    margin-bottom: 10px;
}

.channel-item span {
    font-weight: 600;
    text-align: center;
}

/* 标签页 */
.tab-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

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

.guide-steps {
    list-style: none;
    counter-reset: step-counter;
}

.guide-steps li {
    counter-increment: step-counter;
    margin-bottom: 30px;
    padding-left: 50px;
    position: relative;
}

.guide-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.guide-steps h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.guide-steps p {
    color: var(--text-light);
}

/* 系统要求 */
.system-requirements {
    padding: 60px 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.requirement-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.requirement-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

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

/* FAQ 样式 */
.faq-search {
    padding: 40px 0;
    background: var(--light-bg);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 20px;
    color: var(--text-light);
    font-size: 20px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

/* 分类标签 */
.faq-categories {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* FAQ 项目 */
.faq-content {
    padding: 60px 0;
}

.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-header {
    padding: 25px;
    background: var(--light-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-header:hover {
    background: #eeeeee;
}

.faq-header h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.category-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 15px;
    white-space: nowrap;
}

.category-badge.basic {
    background: #e3f2fd;
    color: var(--primary-color);
}

.category-badge.security {
    background: #fff3e0;
    color: var(--warning-color);
}

.category-badge.transaction {
    background: #f3e5f5;
    color: #7b1fa2;
}

.category-badge.coins {
    background: #e8f5e9;
    color: var(--secondary-color);
}

.category-badge.troubleshoot {
    background: #ffebee;
    color: var(--danger-color);
}

.faq-body {
    padding: 25px;
    display: none;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-body h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

.faq-body ol,
.faq-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-body li {
    margin-bottom: 8px;
}

.faq-tip,
.faq-warning {
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-tip {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
}

.faq-tip i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.faq-warning {
    background: #fff3e0;
    border-left: 4px solid var(--warning-color);
}

.faq-warning i {
    color: var(--warning-color);
    font-size: 20px;
    flex-shrink: 0;
}

/* FAQ CTA */
.faq-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.faq-cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.faq-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

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

.footer-section a:hover {
    color: var(--primary-color);
}

.contact-info {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

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

.disclaimer {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.6;
}

/* 返回顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 500;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top:hover {
    background: #1565c0;
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: flex;
}
