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

:root {
    --primary-color: #e05645;
    --primary-dark: #c94536;
    --primary-light: #f57b6c;
    --accent-color: #f9a86c;
    --text-primary: #1a1a1a;
    --text-secondary: #595959;
    --text-light: #8c8c8c;
    --bg-primary: #faf8f6;
    --bg-secondary: #f5f0eb;
    --bg-card: #ffffff;
    --bg-dark: #f0ebe5;
    --border-color: #e8e0d8;
    --shadow-sm: 0 1px 2px 0 rgba(224, 86, 69, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(224, 86, 69, 0.12);
    --shadow-lg: 0 10px 15px -3px rgba(224, 86, 69, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(224, 86, 69, 0.18);
    --gradient-primary: linear-gradient(135deg, #e05645 0%, #f9a86c 100%);
    --gradient-hero: linear-gradient(135deg, #e05645 0%, #f57b6c 50%, #f9a86c 100%);
    --badge-bg: rgba(224, 86, 69, 0.08);
    --badge-border: rgba(224, 86, 69, 0.2);
}

/* 夜间模式变量 */
[data-theme="dark"] {
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-light: #6c6c6c;
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #1f1f1f;
    --bg-dark: #141414;
    --border-color: #2a2a2a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --badge-bg: rgba(224, 86, 69, 0.15);
    --badge-border: rgba(224, 86, 69, 0.3);
}

/* 夜间模式特殊元素覆盖 */
[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .scenario-card,
[data-theme="dark"] .security-item,
[data-theme="dark"] .step,
[data-theme="dark"] .download-card,
[data-theme="dark"] .download-inline,
[data-theme="dark"] .install-card,
[data-theme="dark"] .device-card {
    background: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .scenario-card h3,
[data-theme="dark"] .security-item h3,
[data-theme="dark"] .step h3,
[data-theme="dark"] .download-card h2,
[data-theme="dark"] .local-text h3,
[data-theme="dark"] .device-label {
    color: var(--text-primary);
}

[data-theme="dark"] .demo-input {
    background: var(--bg-dark);
    color: var(--text-secondary);
}

[data-theme="dark"] .demo-output {
    background: var(--badge-bg);
    color: var(--primary-color);
}

[data-theme="dark"] .data-item {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

[data-theme="dark"] .install-step {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .theme-toggle {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .footer {
    background: var(--bg-dark);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer-brand p {
    color: var(--text-light);
}

[data-theme="dark"] .footer-column h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-bottom p {
    color: var(--text-light);
}

[data-theme="dark"] .local-deploy {
    background: var(--bg-secondary);
}

[data-theme="dark"] .features::before {
    background-image:
        linear-gradient(rgba(224, 86, 69, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 86, 69, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] .local-list p {
    color: var(--text-secondary);
}

[data-theme="dark"] .scenario-tab {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .scenario-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .scenario-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

[data-theme="dark"] .scenario-icon {
    filter: brightness(1.2);
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 15, 0.9);
}

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

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

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

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

.logo-icon {
    width: 48px;
    height: 48px;
    animation: foxWiggle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.15));
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes foxWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin-right: 16px;
}

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

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
}

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

/* 主题切换按钮 */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 16px;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(15deg);
}

.theme-icon-light,
.theme-icon-dark {
    font-size: 20px;
    transition: opacity 0.3s ease;
    width: 20px;
    height: 20px;
}

.theme-icon-dark {
    display: none;
}

/* 夜间模式 */
[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

[data-theme="dark"] .theme-toggle {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary-color);
}

[data-theme="dark"] .btn-hero-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-hero-secondary:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .stat-label {
    color: var(--text-light);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .scenario-badge,
[data-theme="dark"] .feature-badge,
[data-theme="dark"] .hero-badge {
    background: var(--badge-bg);
    color: var(--primary-color);
    border-color: var(--badge-border);
}

[data-theme="dark"] .device-shield {
    background: var(--badge-bg);
    color: var(--primary-color);
    border-color: var(--badge-border);
}

[data-theme="dark"] .install-time {
    background: var(--badge-bg);
    color: var(--text-secondary);
}

[data-theme="dark"] .download-btn-inline .download-version {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .download-note {
    color: var(--text-light);
}

[data-theme="dark"] .step-number {
    opacity: 0.4;
}

[data-theme="dark"] .step-connector {
    background: var(--gradient-primary);
}

[data-theme="dark"] .floating-card {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .card-icon {
    color: var(--text-primary);
}
[data-theme="dark"] .footer-column a:hover {
    color: #fff;
}

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

/* ===== 主横幅 ===== */
.hero {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--badge-border);
}

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

.hero-title .highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: white;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 50px;
    left: 50px;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    bottom: 50px;
    right: 50px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 10;
}

.card-1 {
    top: 80px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 180px;
    right: 20px;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 100px;
    left: 50px;
    animation-delay: 3s;
}

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

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

/* ===== 通用区块样式 ===== */
section {
    padding: 100px 0;
}

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

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

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

/* ===== 功能特点 ===== */
.features {
    background: var(--bg-dark);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 107, 107, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 107, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 40px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--badge-bg);
    border-radius: 12px;
    margin-bottom: 20px;
}

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

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

.feature-badge {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== 使用流程 ===== */
.steps {
    background: var(--bg-dark);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
    padding: 40px 24px;
}

.step-number {
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    font-size: 56px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 24px;
    margin: 0 auto 24px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

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

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    margin-top: 80px;
    position: relative;
}

.step-connector::after {
    content: '▶';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 12px;
}

/* ===== 应用场景 ===== */
.scenarios {
    background: var(--bg-primary);
}

/* 分组切换按钮 */
.scenario-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.scenario-tab {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scenario-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.scenario-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* 场景分组 */
.scenario-group {
    display: none;
}

.scenario-group.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

.scenario-card {
    padding: 28px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.scenario-badge {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

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

.scenario-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    flex: 1;
}

/* ===== 安全特性 ===== */
.security {
    background: var(--bg-dark);
    color: white;
}

.security .section-title {
    color: white;
}

.security .section-subtitle {
    color: var(--text-light);
}

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

.security-item {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-red);
}

.security-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 20px;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.security-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.security-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 下载区域 ===== */
.download {
    background: var(--bg-secondary);
}

.download-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    color: var(--text-primary);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.download-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-card > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 20px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 36px;
    height: 36px;
}

.download-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-os {
    font-size: 18px;
    font-weight: 600;
}

.download-version {
    font-size: 13px;
    color: var(--text-secondary);
}

.download-note {
    font-size: 14px;
    opacity: 0.8;
}

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

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #000;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.5;
}

.footer-bottom p .link {
    color: var(--text-light);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .theme-toggle {
        display: none;
    }

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

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

    .scenario-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .scenario-tab {
        white-space: nowrap;
    }

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

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

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

    .step-connector {
        width: 2px;
        height: 60px;
        margin: 0;
    }

    .step-connector::after {
        content: '▼';
        right: 50%;
        top: auto;
        bottom: -15px;
        transform: translateX(50%);
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.scenario-card,
.step {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== 下载区域（第一屏内嵌） ===== */
.download-inline {
    margin: 32px 0;
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.download-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.download-buttons-inline {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.download-btn-inline {
    flex: 1;
    min-width: 180px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    justify-content: center;
}

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

.download-btn-inline .download-icon {
    font-size: 28px;
}

.download-btn-inline .download-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn-inline .download-os {
    font-size: 15px;
    font-weight: 600;
}

.download-btn-inline .download-version {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.download-note {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

/* ===== 安装流程卡片 ===== */
.install-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.install-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 13px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.step-dot {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.install-arrow {
    font-size: 24px;
    color: var(--primary-color);
    margin: 8px 0;
}

.install-time {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px;
    background: var(--badge-bg);
    border-radius: 8px;
    display: inline-block;
}

/* ===== 本地部署安全 ===== */
.local-deploy {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.local-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.local-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.local-list {
    list-style: none;
}

.local-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.local-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    background: var(--badge-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.local-list strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.local-visual {
    display: flex;
    justify-content: center;
}

.device-card {
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.5);
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 360px;
}

.device-icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.device-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.device-data {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

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

.device-shield {
    background: var(--badge-bg);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--badge-border);
}

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

    .download-buttons-inline {
        flex-direction: column;
    }

    .download-btn-inline {
        width: 100%;
    }
}
