/* ========================================
   StellarFetch - 官网样式表
   深色太空主题 + 毛玻璃效果
   ======================================== */

/* --- CSS 变量 --- */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1335;
    --bg-tertiary: #1a1a4e;
    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-cyan-rgb: 0, 212, 255;
    --accent-purple-rgb: 124, 58, 237;
    --text-primary: #e8eaf6;
    --text-secondary: #9fa8da;
    --text-muted: #5c6bc0;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-glow: 0 0 40px rgba(var(--accent-cyan-rgb), 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- 基础重置 --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* --- 星空背景 Canvas --- */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- 容器 --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- 通用段落头 --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--accent-cyan-rgb), 0.1);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-cyan);
    transition: var(--transition-fast);
}

.nav-logo:hover { opacity: 0.9; }

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 1px;
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: var(--transition-fast);
}

/* ========================================
   Hero 主视觉区
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 40%, var(--bg-tertiary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--accent-purple-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(var(--accent-cyan-rgb), 0.1);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-cyan-rgb), 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(var(--accent-cyan-rgb), 0); }
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 80%);
    -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: 36px;
    max-width: 500px;
}

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

/* --- 按钮 --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(var(--accent-cyan-rgb), 0.35);
}

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

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(var(--accent-cyan-rgb), 0.05);
}

/* --- Hero 统计数字 --- */
.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-cyan);
}

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

/* --- Hero 软件模型 --- */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.software-mockup {
    background: rgba(15, 19, 53, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.software-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.mockup-title {
    font-size: 12px;
    color: var(--text-muted);
}

.mockup-body {
    display: flex;
    min-height: 260px;
}

.mockup-sidebar {
    width: 140px;
    padding: 12px 8px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    cursor: default;
    transition: var(--transition-fast);
}

.sidebar-item.active {
    background: rgba(var(--accent-cyan-rgb), 0.1);
    color: var(--accent-cyan);
}

.mockup-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-search {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-muted);
    flex: 1;
}

.toolbar-filters {
    display: flex;
    gap: 6px;
}

.filter-tag {
    padding: 4px 8px;
    background: rgba(var(--accent-purple-rgb), 0.15);
    border-radius: 4px;
    font-size: 10px;
    color: var(--accent-cyan);
}

.mockup-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.result-item:hover {
    background: var(--glass-hover);
}

.result-thumb {
    width: 40px;
    height: 32px;
    border-radius: 4px;
    flex-shrink: 0;
}

.result-info { flex: 1; }

.result-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.result-meta {
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: var(--text-muted);
}

.result-status {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.result-status.downloaded {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.result-status.downloading {
    background: rgba(var(--accent-cyan-rgb), 0.1);
    color: var(--accent-cyan);
}

.result-status.pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

/* --- 轨道动画 --- */
.orbit-ring {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(var(--accent-cyan-rgb), 0.15);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

.satellite {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-rotate 20s linear infinite reverse;
}

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- 滚动指示 --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce-down 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   功能特性
   ======================================== */
.features {
    padding: 120px 24px;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    background: var(--glass-hover);
    border-color: rgba(var(--accent-cyan-rgb), 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* ========================================
   数据源
   ======================================== */
.data-sources {
    padding: 120px 24px;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

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

.source-card {
    display: flex;
    gap: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.source-card:hover {
    background: var(--glass-hover);
    border-color: rgba(var(--accent-cyan-rgb), 0.15);
    transform: translateY(-2px);
}

.source-visual {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.source-satellite-icon {
    width: 64px;
    height: 64px;
}

.source-satellite-icon svg {
    width: 100%;
    height: 100%;
}

.source-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.source-type {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.source-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.source-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.source-specs span {
    padding: 4px 10px;
    background: rgba(var(--accent-purple-rgb), 0.1);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================
   软件预览
   ======================================== */
.preview {
    display: none !important;
    padding: 120px 24px;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.preview-showcase {
    display: flex;
    justify-content: center;
}

.preview-main-screen {
    width: 100%;
    max-width: 900px;
    background: rgba(15, 19, 53, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow), 0 30px 80px rgba(0, 0, 0, 0.4);
}

.screen-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
    gap: 16px;
}

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

.screen-tabs {
    display: flex;
    gap: 4px;
}

.tab {
    padding: 6px 14px;
    font-size: 12px;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: default;
}

.tab.active {
    background: rgba(var(--accent-cyan-rgb), 0.1);
    color: var(--accent-cyan);
}

.screen-content {
    display: flex;
    min-height: 380px;
}

.screen-left-panel {
    width: 260px;
    padding: 20px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-section { display: flex; flex-direction: column; gap: 8px; }

.panel-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.custom-check input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 14px;
    height: 14px;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.date-input {
    flex: 1;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
    outline: none;
}

.date-input:focus {
    border-color: var(--accent-cyan);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent-cyan);
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 600;
    min-width: 40px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--accent-cyan-rgb), 0.3);
}

.screen-right-panel {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.results-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.action-btn:hover {
    background: var(--glass-hover);
}

.action-btn.primary {
    background: rgba(var(--accent-cyan-rgb), 0.1);
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    color: var(--accent-cyan);
}

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

.result-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.result-row:hover,
.result-row.selected {
    background: var(--glass-hover);
    border-color: rgba(var(--accent-cyan-rgb), 0.15);
}

.result-row input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 14px;
    height: 14px;
}

.result-preview {
    width: 48px;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0;
}

.result-details { flex: 1; }

.result-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result-tags {
    display: flex;
    gap: 6px;
}

.tag {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    font-size: 10px;
    color: var(--text-muted);
}

.tag.green {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.result-date, .result-size {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    padding: 120px 24px;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

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

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

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code-img {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    object-fit: cover;
}

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

.phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

/* ========================================
   下载区
   ======================================== */
.download {
    padding: 120px 24px;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

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

.download-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.download-card.featured {
    border-color: rgba(var(--accent-cyan-rgb), 0.25);
    background: rgba(var(--accent-cyan-rgb), 0.03);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.download-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.download-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--accent-cyan);
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.download-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-version {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.download-format {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.download-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.7;
}

.download-btn {
    width: 100%;
    justify-content: center;
}

/* --- Linux 版即将推出样式 --- */
.linux-card {
    opacity: 0.8;
}
.linux-card:hover {
    opacity: 1;
}
.coming-soon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    margin-top: 4px;
    background: rgba(var(--accent-cyan-rgb), 0.06);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.15);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--accent-cyan);
    transition: all var(--transition-normal);
}
.coming-soon-box .clock-icon {
    flex-shrink: 0;
    animation: tick-rotate 4s ease-in-out infinite;
}
@keyframes tick-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}

.download-note {
    text-align: center;
}

.download-note p {
    font-size: 14px;
    color: var(--text-muted);
}

.download-note a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    padding: 24px 24px;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
}

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

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

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

/* ========================================
   Toast 弹窗
   ======================================== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    background: rgba(15, 19, 53, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
    animation: toast-in 0.3s ease, toast-out 0.3s ease 3.7s forwards;
    max-width: 360px;
}

.toast.success {
    border-color: rgba(74, 222, 128, 0.3);
}

.toast.info {
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* ========================================
   滚动动画
   ======================================== */
.feature-card,
.source-card,
.download-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.source-card.visible,
.download-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual { display: none; }
    
    .hero-text h1 { font-size: 42px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .sources-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.open { display: flex; }
    
    .nav-toggle { display: flex; }
    
    .hero { padding: 100px 20px 60px; }
    
    .hero-text h1 { font-size: 32px; }
    
    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 { font-size: 28px; }
    
    .screen-left-panel { display: none; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    
    .footer-bottom { flex-direction: column; text-align: center; }
    
    /* 联系我们移动端适配 */
    .contact { padding: 60px 20px; }
    .contact-content { gap: 40px; }
    .phone-wrapper { padding: 24px; }
    .phone-number { font-size: 20px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 28px; }
    
    .hero-buttons { flex-direction: column; }
    
    .hero-stats { flex-direction: column; gap: 16px; }
    
    .source-card { flex-direction: column; }
    
    .about-links { flex-direction: column; }
    
    /* 小屏手机适配 */
    .contact { padding: 40px 16px; }
    .contact-content { flex-direction: column; gap: 32px; }
    .qr-code-img { width: 160px; height: 160px; }
    .phone-number { font-size: 18px; }
    .section-header h2 { font-size: 24px; }
    .section-desc { font-size: 14px; }
}
