/* ===== CSS 变量 ===== */
:root {
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --success-500: #22c55e;
    --warning-500: #f59e0b;
    --danger-500: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-bg: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== 背景效果 ===== */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-800);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition-slow);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-download {
    background: var(--gray-800);
    color: white;
    padding: 10px 16px;
    font-size: 0.875rem;
}

.btn-download:hover {
    background: var(--gray-900);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 800px;
    text-align: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-star {
    color: var(--warning-500);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ===== 应用预览 ===== */
.hero-preview {
    width: 100%;
    max-width: 900px;
}

.preview-window {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 500;
}

.window-content {
    display: flex;
    height: 400px;
}

.preview-sidebar {
    width: 180px;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
}

.sidebar-item.active,
.sidebar-item:hover {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

.preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.chat-header h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

.model-badge {
    padding: 4px 10px;
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: 12px;
    max-width: 80%;
}

.message.assistant {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
}

.message.assistant .avatar {
    background: var(--gradient-primary);
    color: white;
}

.message.user .avatar {
    background: var(--gray-200);
    color: var(--gray-700);
}

.bubble {
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.5;
}

.message.assistant .bubble {
    background: var(--gray-100);
    color: var(--gray-700);
    border-bottom-left-radius: var(--radius-sm);
}

.message.user .bubble {
    background: var(--primary-500);
    color: white;
    border-bottom-right-radius: var(--radius-sm);
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: var(--gray-50);
}

.send-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.send-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== 通用区域样式 ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.left .section-desc {
    margin: 0;
}

/* ===== 功能特性 ===== */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-icon.purple { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }
.feature-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); }
.feature-icon.green { background: linear-gradient(135deg, #10b981 0%, #22c55e 100%); }
.feature-icon.orange { background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%); }
.feature-icon.pink { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }
.feature-icon.cyan { background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%); }

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--gray-500);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-500);
    font-weight: 600;
}

/* ===== 工作流程 ===== */
.workflow {
    padding: 100px 0;
    background: white;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    transition: var(--transition-slow);
}

.step-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: white;
    border: 2px solid var(--primary-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-600);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.step-arrow {
    color: var(--gray-300);
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

/* ===== 评分体系 ===== */
.scoring {
    padding: 100px 0;
}

.scoring-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.scoring-dimensions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dimension-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.dimension-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

.dim-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.dim-icon.hard { background: linear-gradient(135deg, #ef4444 0%, #f97316 100%); }
.dim-icon.domain { background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%); }
.dim-icon.exec { background: linear-gradient(135deg, #22c55e 0%, #10b981 100%); }
.dim-icon.data { background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%); }
.dim-icon.stable { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); }
.dim-icon.comm { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }

.dim-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.dim-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.scoring-visual {
    display: flex;
    justify-content: center;
}

.radar-demo {
    position: relative;
    width: 320px;
    height: 320px;
}

.radar-svg {
    width: 100%;
    height: 100%;
}

.radar-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-total {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-600);
}

.score-unit {
    font-size: 1rem;
    color: var(--gray-500);
}

/* ===== 技术架构 ===== */
.tech {
    padding: 100px 0;
    background: white;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.tech-category {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.tech-cat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.tech-logo {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
}

.tech-logo.vue { color: #42b883; }
.tech-logo.ts { color: #3178c6; }
.tech-logo.sqlite { color: #003b57; }

.tech-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-feature {
    text-align: center;
    padding: 32px;
}

.tf-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-600);
}

.tf-icon svg {
    width: 24px;
    height: 24px;
}

.tech-feature h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.tech-feature p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* ===== 下载区域 ===== */
.download {
    padding: 100px 0;
}

.download-card {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    padding: 64px;
    color: white;
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.download-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-desc {
    font-size: 1.0625rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.download-platform,
.download-source {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.platform-icon,
.source-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg,
.source-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.platform-info h4,
.source-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.platform-ver,
.source-info span:last-of-type {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.download-divider {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.download-note svg {
    width: 16px;
    height: 16px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 64px 0 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.link-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.link-group a {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-600);
    text-decoration: none;
    padding: 6px 0;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-600);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.deploy-info a {
    color: var(--primary-600);
    text-decoration: none;
}

/* ===== 通知 ===== */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--gray-900);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    box-shadow: var(--shadow-xl);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scoring-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .scoring-visual {
        order: -1;
    }
    
    .tech-stack,
    .tech-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .preview-window {
        display: none;
    }
    
    .features-grid,
    .tech-stack,
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .download-card {
        padding: 40px 24px;
    }
    
    .download-options {
        flex-direction: column;
        width: 100%;
    }
    
    .download-platform,
    .download-source {
        width: 100%;
        justify-content: space-between;
    }
    
    .download-divider {
        transform: rotate(0);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step-card,
.dimension-item {
    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; }
