/* ================================
   MYTODO LANDING PAGE STYLES
   像素风格时间管理软件展示页面
   ================================ */

/* CSS 变量定义 */
:root {
    /* 主色调 - 像素风格配色 */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* 中性色 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* 功能色 */
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-500: #10b981;
    --success-600: #059669;
    
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    --error-50: #fef2f2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    --gradient-success: linear-gradient(135deg, var(--success-500), var(--success-600));
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(145deg, #ffffff, #f8fafc);
    
    /* 阴影 */
    --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 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 圆角 */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* 间距 */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* 字体 */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   导航栏
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--gray-900);
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

/* ================================
   主要内容
   ================================ */
.main {
    margin-top: 80px;
}

/* ================================
   Hero 区域
   ================================ */
.hero {
    padding: var(--space-24) 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.hero-problem {
    margin: var(--space-8) 0;
}

.problem-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.problem-icon {
    font-size: 2rem;
    filter: grayscale(1) brightness(0.8);
}

.problem-text {
    font-size: 1rem;
    line-height: 1.5;
}

.hero-insight {
    font-size: 1.375rem;
    font-weight: 600;
    margin: var(--space-8) 0;
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-10);
}

/* ================================
   按钮组件
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: var(--space-5) var(--space-8);
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.25rem;
}

/* ================================
   App 预览
   ================================ */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.app-preview:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.app-window {
    width: 480px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.window-header {
    background: var(--gray-100);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

.window-controls {
    display: flex;
    gap: var(--space-2);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-close { background: #ff5f56; }
.control-minimize { background: #ffbd2e; }
.control-maximize { background: #27ca3f; }

.window-title {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.window-content {
    padding: var(--space-6);
    background: white;
}

.checklist-preview {
    color: var(--gray-800);
}

.checklist-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-success);
    border-radius: var(--radius);
    transition: width 0.3s ease;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.task-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: white;
    transition: all 0.2s ease;
}

.task-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.task-item.completed {
    background: var(--success-50);
    border-color: var(--success-200);
}

.task-item.active {
    background: var(--warning-50);
    border-color: var(--warning-200);
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.task-checkbox.checked {
    background: var(--success-500);
    border-color: var(--success-500);
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 500;
    margin-bottom: var(--space-1);
}

.task-timer {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.task-timer.running {
    color: var(--warning-600);
    font-weight: 600;
}

/* ================================
   解决方案区域
   ================================ */
.solution {
    padding: var(--space-24) 0;
    background: white;
}

.solution-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
}

.solution-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-6);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-description {
    font-size: 1.375rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: var(--space-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--space-8);
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* ================================
   特性区域
   ================================ */
.features {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.features-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-16);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.feature-highlight {
    background: var(--primary-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-500);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-modes {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mode {
    background: var(--gray-50);
    padding: var(--space-3);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* ================================
   工作流程区域
   ================================ */
.workflow {
    padding: var(--space-24) 0;
    background: white;
}

.workflow-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.workflow-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-16);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 30px;
    right: -20px;
    font-size: 2rem;
    color: var(--primary-300);
    font-weight: bold;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.5;
}

/* ================================
   产品理念区域
   ================================ */
.philosophy {
    padding: var(--space-24) 0;
    background: var(--gray-900);
    color: white;
}

.philosophy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.philosophy-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-16);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.philosophy-item {
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

.philosophy-item:hover {
    transform: translateY(-4px);
}

.philosophy-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.philosophy-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.philosophy-item p {
    opacity: 0.9;
    line-height: 1.5;
}

.philosophy-quote {
    text-align: center;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.philosophy-quote blockquote {
    font-size: 1.375rem;
    line-height: 1.6;
    font-style: italic;
    opacity: 0.95;
}

/* ================================
   下载区域
   ================================ */
.download {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.download-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-6);
}

.download-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-12);
    opacity: 0.9;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-12);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.download-icon {
    font-size: 2.5rem;
}

.download-text {
    text-align: left;
}

.download-platform {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.download-detail {
    font-size: 0.875rem;
    opacity: 0.8;
}

.download-info {
    text-align: center;
    opacity: 0.8;
}

.download-info p {
    margin-bottom: var(--space-2);
}

/* ================================
   页脚
   ================================ */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--space-12) 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-copy {
    text-align: center;
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ================================
   响应式设计
   ================================ */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav {
        padding: var(--space-3) var(--space-4);
    }
    
    .nav-links {
        display: none;
    }
    
    /* Hero 区域 */
    .hero {
        padding: var(--space-16) 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    /* App 预览 */
    .app-window {
        width: 100%;
        max-width: 400px;
    }
    
    /* 解决方案 */
    .solution-title {
        font-size: 2.5rem;
    }
    
    .solution-description {
        font-size: 1.125rem;
    }
    
    .solution-stats {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* 特性 */
    .features-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .feature-card {
        padding: var(--space-6);
    }
    
    /* 工作流程 */
    .workflow-title {
        font-size: 2.5rem;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .step:not(:last-child)::after {
        content: '↓';
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }
    
    /* 产品理念 */
    .philosophy-title {
        font-size: 2.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .philosophy-quote blockquote {
        font-size: 1.125rem;
    }
    
    /* 下载 */
    .download-title {
        font-size: 2.5rem;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    /* 页脚 */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .footer-links {
        gap: var(--space-4);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .solution-title,
    .features-title,
    .workflow-title,
    .philosophy-title,
    .download-title {
        font-size: 2rem;
    }
    
    .feature-icon,
    .philosophy-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 滚动时的动画效果 */
.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载动画 */
.loading {
    animation: pulse 2s infinite;
}

/* ================================
   辅助类
   ================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.block { display: block !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
