/* ===== 全局重置与基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222f;
    --border-color: #2a2a3a;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #707080;
    --accent-primary: #e50914;
    --accent-hover: #f40612;
    --accent-secondary: #b80710;
    --warning-color: #ffb020;
    --success-color: #20c997;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --transition: all 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background-color: rgba(229,9,20,0.05);
}

.btn-outline-light {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background-color: rgba(255,255,255,0.05);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-disabled {
    background-color: var(--bg-card);
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
}

.section {
    padding: 80px 0;
}

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

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

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

/* ===== 顶部导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10,10,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    color: var(--accent-primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-primary);
    border-radius: 2px;
}

.nav-demo {
    margin-left: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.menu-close {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
}

/* ===== Hero 主视觉 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,15,0.8) 0%, rgba(10,10,15,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(229,9,20,0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(229,9,20,0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(255,176,32,0.1);
    border: 1px solid rgba(255,176,32,0.2);
    border-radius: var(--radius-md);
    color: var(--warning-color);
    font-size: 14px;
}

/* ===== 平台分类 ===== */
.platforms {
    background-color: var(--bg-primary);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.platform-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.platform-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.platform-card-more {
    border-style: dashed;
    display: flex;
    flex-direction: column;
}

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

.platform-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.platform-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.platform-devices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.device-tag {
    padding: 4px 10px;
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
}

.platform-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.security-tip {
    font-size: 12px;
    color: var(--success-color);
}

/* ===== 下载中心 ===== */
.downloads {
    background-color: var(--bg-secondary);
}

.downloads-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.device-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.device-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.device-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition);
}

.device-item:hover {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.device-item.active {
    background-color: rgba(229,9,20,0.1);
    color: var(--accent-primary);
    border-left: 3px solid var(--accent-primary);
}

.device-icon {
    font-size: 20px;
}

.download-content {
    min-height: 600px;
}

.download-guide-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.guide-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.system-require {
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 12px;
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
}

.guide-platforms {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.guide-platform-item {
    padding: 20px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.guide-platform-item:hover {
    border-color: var(--accent-primary);
}

.guide-platform-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.guide-platform-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.guide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.guide-notice {
    padding: 16px 20px;
    background-color: rgba(255,176,32,0.08);
    border-left: 4px solid var(--warning-color);
    border-radius: var(--radius-md);
    color: var(--warning-color);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== 功能介绍 ===== */
.features {
    background-color: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-notice {
    padding: 20px 24px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* ===== 安装流程 ===== */
.guide {
    background-color: var(--bg-secondary);
}

.guide-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(229,9,20,0.3);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

.step-line {
    flex: 0.5;
    height: 2px;
    background: linear-gradient(to right, var(--accent-primary), transparent);
    margin-top: 40px;
}

/* ===== 安全说明 ===== */
.security {
    background-color: var(--bg-primary);
}

.security-card {
    background: linear-gradient(135deg, rgba(32,201,151,0.05), rgba(32,201,151,0.02));
    border: 1px solid rgba(32,201,151,0.2);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.security-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.security-icon {
    font-size: 40px;
}

.security-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--success-color);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-top: 2px;
}

.security-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-disclaimer {
    padding: 20px;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* ===== 资讯列表（严格遵守规则） ===== */
.news {
    background-color: var(--bg-secondary);
}

ul.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

ul.article-cards > li.article-card {
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    float: none;
    box-sizing: border-box;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

ul.article-cards > li.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.article-card .card-thumb {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-card .card-thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .card-thumb img {
    transform: scale(1.05);
}

.article-card .card-content {
    padding: 20px;
}

.article-card .card-title {
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-card .card-title a {
    color: var(--text-primary);
}

.article-card .card-title a:hover {
    color: var(--accent-primary);
}

.article-card .card-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-card .card-summary {
    overflow-wrap: anywhere;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== FAQ ===== */
.faq {
    background-color: var(--bg-primary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(229,9,20,0.3);
}

.faq-item.active {
    border-color: var(--accent-primary);
}

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

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

.faq-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

/* ===== 关于我们 ===== */
.about {
    background-color: var(--bg-secondary);
}

.about-grid {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.service-icon {
    font-size: 24px;
}

.service-item span:last-child {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.about-statement {
    padding: 24px;
    background-color: rgba(255,176,32,0.08);
    border-left: 4px solid var(--warning-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-statement strong {
    color: var(--warning-color);
}

/* ===== 联系方式 ===== */
.contact {
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
}

.contact-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-primary);
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-notice {
    padding: 16px;
    background-color: rgba(229,9,20,0.08);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--accent-primary);
    line-height: 1.7;
    margin-top: 20px;
}

.contact-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-notice {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 16px;
}

/* ===== 页脚 ===== */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-phone {
    font-size: 16px;
    font-weight: 500;
}

.footer-nav h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.grouplinks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grouplinks a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-beian {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-beian a {
    color: var(--text-muted);
}

.footer-beian span {
    margin: 0 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.demo-link {
    color: var(--text-muted) !important;
    font-style: italic;
}

/* ===== 模态框 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

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

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===== 文章详情页 ===== */
.article-detail {
    padding: 120px 0 80px;
    background-color: var(--bg-primary);
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.article-summary {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 20px 24px;
    background-color: var(--bg-card);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-cover {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 32px 0 16px;
    font-weight: 600;
}

.article-content h2 {
    font-size: 24px;
}

.article-content h3 {
    font-size: 20px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.related-nav {
    margin-bottom: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.related-nav h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.related-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.related-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.related-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.related-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.related-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.article-cta {
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.cta-content .btn {
    margin: 0 8px 12px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .downloads-layout {
        grid-template-columns: 1fr;
    }

    .device-sidebar {
        position: static;
    }

    .device-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        width: 2px;
        height: 40px;
        margin: 0;
        background: linear-gradient(to bottom, var(--accent-primary), transparent);
    }

    .step-item {
        text-align: center;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 24px 24px;
        border-left: 1px solid var(--border-color);
        transition: var(--transition);
        z-index: 1500;
    }

    .main-nav.active {
        right: 0;
    }

    .menu-close {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        width: 100%;
    }

    .nav-demo {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
    }

    .nav-demo .btn {
        width: 100%;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .security-card {
        padding: 24px;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-summary {
        font-size: 16px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 28px 20px;
    }

    .cta-content .btn {
        width: 100%;
        margin: 0 0 12px;
    }
}