/* ============================================
   现代化设计系统 - 前微软件
   ============================================ */

/* 全局样式重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

: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;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* 中性色 */
    --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: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    /* 文字色 */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    /* 边框色 */
    --border-light: rgba(148, 163, 184, 0.1);
    --border-medium: rgba(148, 163, 184, 0.2);
    --border-dark: rgba(148, 163, 184, 0.3);
    
    /* 阴影系统 */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(102, 126, 234, 0.4);
    
    /* 圆角系统 */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;
    
    /* 间距系统 */
    --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;
    --space-32: 8rem;
    
    /* 动画系统 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 字体系统 */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Inter', var(--font-sans);
    
    /* Z-index 层级 */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ========== 基础样式 ========== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-500);
    color: var(--text-inverse);
}

::-moz-selection {
    background: var(--primary-500);
    color: var(--text-inverse);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

/* ========== 布局容器 ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-8);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-12);
    }
}

/* ========== 头部导航 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    gap: var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-base);
    position: relative;
}

.logo-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-2);
    align-items: center;
}

.nav a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-5);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav a span {
    position: relative;
    z-index: 1;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    border-radius: inherit;
}

.nav a:hover {
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.nav a:hover::before {
    opacity: 1;
}

.nav a.active {
    color: var(--text-inverse);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-24) 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: gradient-shift 15s ease infinite;
    pointer-events: none;
}

@keyframes gradient-shift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.5;
}

.hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ========== 按钮样式 ========== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-10);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-2xl);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--primary-500);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(1);
}

/* ========== 软件展示区域 ========== */
.software-section {
    padding: var(--space-32) 0;
    background: var(--bg-primary);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--space-20);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.software-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-3xl);
    padding: var(--space-10);
    text-align: center;
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out both;
}

.software-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 0;
}

.software-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-lg);
    border-color: var(--primary-400);
}

.software-card:hover::before {
    opacity: 0.05;
}

.software-card > * {
    position: relative;
    z-index: 1;
}

.software-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-8);
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: var(--transition-bounce);
}

.software-card:hover .software-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
}

.software-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.software-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    font-size: 1.0625rem;
}

.software-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.software-tag {
    padding: var(--space-2) var(--space-4);
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    transition: var(--transition-base);
}

.software-tag:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-400);
    transform: scale(1.05);
}

/* ========== 软件详情页 ========== */
.software-detail-header {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-20) 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.software-detail-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.detail-header-content {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    position: relative;
    z-index: 1;
}

.detail-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: var(--radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    flex-shrink: 0;
    animation: float 6s ease-in-out infinite;
}

.detail-info h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.2;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-info p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.software-detail {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
}

/* ========== 标签页 ========== */
.tabs {
    display: flex;
    gap: var(--space-2);
    background: var(--bg-secondary);
    padding: var(--space-2);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-8);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: 1;
    min-width: 120px;
    padding: var(--space-4) var(--space-6);
    background: transparent;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    position: relative;
}

.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: inherit;
    transition: var(--transition-base);
    z-index: 0;
}

.tab span {
    position: relative;
    z-index: 1;
}

.tab:hover {
    color: var(--text-primary);
}

.tab:hover::before {
    opacity: 0.1;
}

.tab.active {
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.tab.active::before {
    opacity: 1;
}

.tab-content {
    background: var(--bg-primary);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.4s ease-out;
}

.tab-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.tab-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.tab-content ul {
    list-style: none;
    margin-bottom: var(--space-8);
}

.tab-content li {
    padding: var(--space-4) 0;
    padding-left: var(--space-8);
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    position: relative;
}

.tab-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: 700;
    font-size: 1.25rem;
}

.tab-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    margin-bottom: var(--space-6);
}

.changelog-item,
.help-item {
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-500);
    transition: var(--transition-base);
}

.changelog-item:hover,
.help-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.changelog-item h4,
.help-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.changelog-item ul {
    margin-top: var(--space-4);
}

.changelog-item li {
    padding-left: var(--space-6);
}

.changelog-item li::before {
    content: '•';
    color: var(--primary-500);
    font-weight: 700;
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: var(--space-12) 0;
    margin-top: var(--space-24);
    border-top: 1px solid var(--border-light);
}

.footer-content {
        text-align: center;
    }
    
.footer-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    font-size: 0.9375rem;
}

.footer-content a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.footer-content a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* ========== 动画定义 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px) scale(1);
        opacity: 0;
    }
}

@keyframes float-diagonal {
    0% {
        transform: translate(100vw, 100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(-100vw, -100vh) scale(1);
        opacity: 0;
    }
}

@keyframes bubble-float {
    0% {
        transform: translateY(100vh) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) scale(1) rotate(360deg);
        opacity: 0;
    }
}

/* ========== 粒子效果 ========== */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.particle:nth-child(odd) {
    width: 3px;
    height: 3px;
    background: var(--gradient-primary);
    animation: float-up 18s linear infinite;
    box-shadow: var(--shadow-glow);
}

.particle:nth-child(even) {
    width: 2px;
    height: 2px;
    background: var(--gradient-accent);
    animation: float-up 22s linear infinite reverse;
    box-shadow: var(--shadow-glow);
}

.particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--primary-200), var(--primary-100));
    animation: float-diagonal 25s linear infinite;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    animation: bubble-float 30s linear infinite;
    pointer-events: none;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
.hero {
        min-height: 80vh;
        padding: var(--space-16) 0;
    }
    
    .software-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .detail-header-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    gap: var(--space-4);
    }
    
    .nav ul {
    width: 100%;
        justify-content: center;
    }
    
    .hero {
        min-height: 70vh;
        padding: var(--space-12) 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    width: 100%;
    }
    
    .btn-primary,
.btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .software-section {
        padding: var(--space-20) 0;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        width: 100%;
    }
    
    .tab-content {
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-content {
        padding: 0 var(--space-4);
    }
    
    .software-card {
        padding: var(--space-6);
    }
    
    .detail-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
}

/* ========== 工具类 ========== */
.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ========== 键盘导航样式 ========== */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

.keyboard-navigation .software-card:focus {
    outline: 3px solid var(--primary-500);
    outline-offset: 4px;
    transform: translateY(-8px) scale(1.02);
}

.keyboard-navigation .tab:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* ========== 打印样式 ========== */
@media print {
    .header,
    .footer,
    .bg-animation,
    .cta-buttons {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
}

.software-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-medium);
    }
}

/* ========== 加载动画 ========== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    text-align: center;
    padding: var(--space-8);
    color: var(--text-secondary);
}

.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
