/* ============================================
   TP钱包 - 响应式多页面样式表 v2
   PC + 手机双端适配 · 暗色加密冷钱包主题
   内容密集型布局，减少左右空白
   ============================================ */

/* ==================== CSS 变量 ==================== */
:root {
    --primary: #0066ff;
    --primary-dark: #0044cc;
    --primary-light: #3399ff;
    --accent: #f7931a;
    --accent-gold: #ffb347;
    --accent-cold: #00d4ff;
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-nav: rgba(10, 14, 26, 0.94);
    --text: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(247, 147, 26, 0.15);
    --shadow-blue: 0 0 30px rgba(0, 102, 255, 0.15);
    --shadow-cyan: 0 0 30px rgba(0, 212, 255, 0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1300px;
    --transition: all 0.3s ease;
}

/* ==================== 全局重置 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 
                 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', 
                 Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== 导航栏 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    height: 62px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--accent);
}

.btn-download-sm {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    cursor: pointer;
}

.btn-download-sm:hover {
    background: #e67e22 !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* 移动端汉堡菜单 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 按钮 ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 16px 44px;
    font-size: 18px;
    letter-spacing: 1px;
}

.btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 12px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(247, 147, 26, 0.05);
}

.btn-cyan {
    background: linear-gradient(135deg, #00b4d8, #0077b6) !important;
}

.btn-cyan:hover {
    box-shadow: var(--shadow-cyan) !important;
}

/* ==================== 页面头部 ==================== */
.page-header {
    padding: 100px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, rgba(247, 147, 26, 0.04) 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-header h1 .text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-gold), #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== 区块标题 ==================== */
.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

/* ==================== 首页 - 英雄区 Hero ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 16px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(247, 147, 26, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 70% 60%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 30%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    width: 100%;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-cold);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge .badge-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 212, 255, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(0, 212, 255, 0.9); }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-gold), #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cold {
    background: linear-gradient(135deg, #00b4d8, #00d4ff, #48cae4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image img {
    max-width: 380px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
}

/* ==================== 首页 - 信任数据 ==================== */
.trust-bar {
    padding: 0 0 20px;
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.trust-item {
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: none;
}

.trust-number {
    font-size: 38px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.trust-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-stars {
    color: #ffb347;
    font-size: 16px;
    margin-top: 4px;
}

/* ==================== 通用内容区块 ==================== */
.section {
    padding: 70px 0;
}

.section-alt {
    padding: 70px 0;
    background: rgba(255, 255, 255, 0.012);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ==================== 双栏布局 (图+文/文+图) ==================== */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-row.reverse {
    direction: rtl;
}

.split-row.reverse > * {
    direction: ltr;
}

.split-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.split-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.split-text .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-list .tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    border-radius: 20px;
    border: 1px solid rgba(247, 147, 26, 0.15);
    font-weight: 500;
}

.split-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.split-img img {
    width: 100%;
    display: block;
}

/* ==================== 多链支持 ==================== */
.chain-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.chain-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 8px 16px;
    text-align: center;
    transition: var(--transition);
}

.chain-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.chain-icon {
    font-size: 34px;
    margin-bottom: 8px;
    line-height: 1;
}

.chain-icon.bitcoin { color: #f7931a; }
.chain-icon.ethereum { color: #627eea; }
.chain-icon.solana { 
    background: linear-gradient(135deg, #9945ff, #14f195);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.chain-icon.polygon { color: #8247e5; }
.chain-icon.bsc { color: #f0b90b; }
.chain-icon.avalanche { color: #e84142; }
.chain-icon.tron { color: #ff060a; }

.chain-item span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.chain-item small {
    font-size: 11px;
    color: var(--text-muted);
}

.chain-more {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== 功能卡片网格 ==================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.12), rgba(0, 102, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.feature-icon.feature-cold {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 119, 182, 0.1));
}

.feature-icon.feature-cold svg {
    color: var(--accent-cold);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== 冷钱包对比表 ==================== */
.compare-table-wrap {
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.compare-table thead th {
    padding: 16px 20px;
    text-align: center;
    background: var(--bg-card);
    border-bottom: 2px solid var(--border);
    font-weight: 700;
    font-size: 16px;
}

.compare-table thead th:first-child {
    text-align: left;
    border-radius: var(--radius-sm) 0 0 0;
}

.compare-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 119, 182, 0.08));
    color: var(--accent-cold);
}

.compare-table tbody td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.compare-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.compare-table .check { color: #4ade80; font-weight: 700; }
.compare-table .cross { color: #ef4444; }
.compare-table .warn { color: #fbbf24; }
.compare-table .best { color: var(--accent-cold); font-weight: 700; }

/* ==================== 安全等级卡片 ==================== */
.security-levels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.security-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.security-card.highlight {
    border-color: rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(0, 119, 182, 0.04));
}

.security-card .sec-level {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--accent-cold);
}

.security-card .sec-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.security-card .sec-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 步骤列表 ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    counter-increment: step;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.step-card .step-num-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    margin: 0 auto 16px;
}

.step-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== 下载专区 ==================== */
.download-section {
    padding: 70px 0;
}

.download-card {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05), rgba(0, 212, 255, 0.06));
    border: 1px solid rgba(247, 147, 26, 0.15);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    max-width: 650px;
    margin: 0 auto;
}

.download-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    padding: 5px 28px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.download-card .section-title {
    margin-top: 8px;
    font-size: 28px;
}

.download-options {
    margin: 28px 0;
}

.btn-download-main {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    padding: 24px 56px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 25px rgba(247, 147, 26, 0.3);
    cursor: pointer;
    text-decoration: none;
}

.btn-download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(247, 147, 26, 0.45);
}

.btn-download-main:active {
    transform: translateY(0);
}

.btn-icon-lg {
    width: 36px;
    height: 36px;
    margin-bottom: 2px;
}

.btn-download-main small {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

.download-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 16px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-icon {
    color: #4ade80;
    font-weight: 700;
}

.download-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
}

.download-tip svg {
    flex-shrink: 0;
    color: var(--accent);
}

/* ==================== 底部 CTA ==================== */
.cta-final {
    padding: 70px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 50%, rgba(247, 147, 26, 0.03) 100%);
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-btn {
    display: inline-flex !important;
}

/* ==================== 下载页 ==================== */
.dl-platforms {
    padding: 70px 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.platform-card.featured {
    border-color: rgba(247, 147, 26, 0.3);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.06), rgba(0, 102, 255, 0.06));
    position: relative;
}

.platform-card.featured::before {
    content: '推荐下载';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    padding: 2px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.platform-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(0, 102, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.platform-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.platform-card .version {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.platform-card .btn-primary,
.platform-card .btn-outline {
    min-width: 160px;
}

/* 安装步骤 */
.install-steps {
    padding: 70px 0;
}

.steps-list {
    max-width: 750px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.step-item:first-child {
    padding-top: 0;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 系统要求 */
.sys-req-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==================== 产品页 ==================== */
.product-content {
    padding: 70px 0;
}

/* ==================== 关于页 ==================== */
.about-content {
    padding: 70px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.about-text h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: auto;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.stat-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.1;
}

.stat-label {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ==================== 指南页 ==================== */
.guide-content {
    padding: 70px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.guide-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.guide-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-card h3 .g-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-card ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.guide-card li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 4px;
}

.guide-tip {
    background: rgba(247, 147, 26, 0.08);
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.guide-tip svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.guide-tip p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

.guide-warning {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.guide-warning svg {
    flex-shrink: 0;
    color: #ef4444;
    margin-top: 2px;
}

.guide-warning p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

/* ==================== FAQ 页 ==================== */
.faq-content {
    padding: 70px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(247, 147, 26, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    text-align: left;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--accent);
    transform: rotate(180deg);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 22px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ==================== 网格布局工具 ==================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ==================== 图片展示区 ==================== */
.img-showcase {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 9/16;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.footer-brand h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-col h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text);
    padding-left: 4px;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 25px rgba(247, 147, 26, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(247, 147, 26, 0.5); }
}

.btn-download-main {
    animation: pulse 2s infinite;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 工具类 ==================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ==================== 桌面端适配 (≥1200px) ==================== */
@media (min-width: 1200px) {
    .hero-title { font-size: 52px; }
    .hero-grid { gap: 80px; }
}

/* ==================== 桌面端适配 (≥1024px) ==================== */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero-title { font-size: 40px; }
    .hero-grid { gap: 40px; }
    .chain-grid { grid-template-columns: repeat(7, 1fr); gap: 8px; }
    .chain-item { padding: 16px 4px 12px; }
    .chain-icon { font-size: 28px; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .security-levels { grid-template-columns: repeat(4, 1fr); }
    .compare-table { font-size: 14px; }
    .compare-table thead th,
    .compare-table tbody td { padding: 12px 14px; }
}

/* ==================== 平板端适配 (768-1023px) ==================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-image img { max-width: 280px; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-title { font-size: 36px; }
    .split-row { grid-template-columns: 1fr; gap: 30px; }
    .split-row.reverse { direction: ltr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .chain-grid { grid-template-columns: repeat(4, 1fr); }
    .security-levels { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .guide-grid { grid-template-columns: 1fr; }
    .sys-req-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-row { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 13px; }
    .compare-table thead th,
    .compare-table tbody td { padding: 10px 10px; }
    .download-card { padding: 40px 24px; max-width: 500px; }
}

/* ==================== 手机端适配 (<768px) ==================== */
@media (max-width: 767px) {
    .nav { padding: 0 16px; height: 56px; }
    .logo-text { font-size: 16px; }
    .logo-icon { width: 32px; height: 32px; }

    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 24px 30px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        border-left: 1px solid var(--border);
    }
    .nav-links.open { right: 0; }
    .nav-links a { width: 100%; padding: 12px 16px; font-size: 15px; border-radius: var(--radius-sm); }
    .btn-download-sm { margin-top: 12px; text-align: center; }

    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }
    .nav-overlay.show { display: block; }

    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-image img { max-width: 240px; margin: 0 auto; }
    .hero-buttons { justify-content: center; flex-direction: column; align-items: center; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
    .page-header h1 { font-size: 28px; }
    .page-header p { font-size: 14px; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; margin-bottom: 32px; }

    .split-row { grid-template-columns: 1fr; gap: 24px; }
    .split-row.reverse { direction: ltr; }
    .split-text h3 { font-size: 22px; }

    .feature-grid { grid-template-columns: 1fr; }
    .chain-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .chain-item { padding: 14px 6px 12px; }
    .chain-icon { font-size: 26px; }
    .chain-item span { font-size: 12px; }

    .security-levels { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-number { font-size: 32px; }
    .platform-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .guide-grid { grid-template-columns: 1fr; }
    .sys-req-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-row { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px 16px; }
    .trust-item:nth-child(2) { border-right: none; }
    .trust-number { font-size: 28px; }
    .trust-label { font-size: 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .compare-table-wrap { margin: 0 -8px; padding: 0 8px; }
    .compare-table { font-size: 12px; }
    .compare-table thead th,
    .compare-table tbody td { padding: 8px 6px; }

    .download-card { padding: 36px 20px; max-width: 100%; }
    .download-card .section-title { font-size: 22px; }
    .btn-download-main { padding: 18px 36px; font-size: 17px; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-text h2 { font-size: 24px; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 24px; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
    .chain-grid { gap: 6px; }
    .chain-item { padding: 12px 4px 10px; }
    .chain-icon { font-size: 22px; }
}

/* ==================== 深色主题滚动条 ==================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }
::selection { background: rgba(247, 147, 26, 0.3); color: #fff; }