/* 
 * 网站样式表 - 超前设计风格
 * 优化版本 - 视觉升级与性能优化
 * 
 * 设计策略:
 * 1. 丰富多彩的配色方案 - 渐变与强调色的灵活运用
 * 2. 现代化UI元素 - 玻璃态、新拟物风格与微妙动效
 * 3. 高级排版系统 - 多层次文字层级与精细间距
 * 4. 视觉层次感 - 阴影、深度与空间感的精确控制
 * 5. 沉浸式体验 - 全屏设计与交互式元素
 */

/* 设计系统 - 增强版颜色、排版和间距变量 */
:root {
    /* 主色调 - 扩展色彩系统 */
    --primary-color: #4361ee;     /* 皇家蓝 - 主要强调色 */
    --primary-dark: #3a0ca3;      /* 深紫蓝 - 悬停状态 */
    --primary-light: #4cc9f0;     /* 亮青蓝 - 背景和高亮 */
    --primary-gradient: linear-gradient(135deg, #4361ee, #3a0ca3); /* 主色渐变 */
    
    /* 辅助色 - 丰富色彩系统 */
    --secondary-color: #7209b7;   /* 紫罗兰 - 标题和重点文本 */
    --secondary-light: #f72585;   /* 亮粉红 - 次要强调 */
    --secondary-gradient: linear-gradient(135deg, #7209b7, #f72585); /* 辅助色渐变 */
    
    /* 强调色 - 点缀使用 */
    --accent-1: #4cc9f0;          /* 亮青蓝 - 交互元素 */
    --accent-2: #f72585;          /* 亮粉红 - 重要提示 */
    --accent-3: #4d908e;          /* 青绿色 - 成功状态 */
    
    /* 中性色 - 精细层次 */
    --neutral-100: #ffffff;       /* 纯白 - 背景 */
    --neutral-150: #f9fafb;       /* 微灰 - 微妙区分 */
    --neutral-200: #f0f4f8;       /* 浅灰 - 卡片背景 */
    --neutral-300: #d9e2ec;       /* 中浅灰 - 分隔和边框 */
    --neutral-400: #bcccdc;       /* 中灰 - 禁用状态 */
    --neutral-500: #829ab1;       /* 深灰 - 辅助文本 */
    --neutral-600: #486581;       /* 深蓝灰 - 正文文本 */
    --neutral-700: #334e68;       /* 深蓝 - 标题文本 */
    --neutral-800: #243b53;       /* 暗蓝 - 强调标题 */
    --neutral-900: #102a43;       /* 近黑 - 最高对比 */
    
    /* 功能色 - 状态指示 */
    --success-color: #06d6a0;     /* 绿色 - 成功状态 */
    --error-color: #ef476f;       /* 红色 - 错误状态 */
    --warning-color: #ffd166;     /* 黄色 - 警告状态 */
    --info-color: #118ab2;        /* 蓝色 - 信息状态 */
    
    /* 排版系统 - 高级字体与精细控制 */
    --font-primary: 'Poppins', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;  /* 主要字体 - 现代无衬线 */
    --font-secondary: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;  /* 次要字体 - 高可读性 */
    --font-accent: 'Montserrat', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; /* 强调字体 - 用于标题 */
    --font-mono: 'JetBrains Mono', 'Source Code Pro', monospace; /* 等宽字体 - 代码和数据 */
    
    /* 字体大小 - 精细比例系统 */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    --text-8xl: 6rem;        /* 96px */
    
    /* 字体行高 - 精确控制 */
    --leading-none: 1;       /* 紧凑行高 */
    --leading-tight: 1.25;   /* 紧凑行高 */
    --leading-snug: 1.375;   /* 舒适行高 */
    --leading-normal: 1.5;   /* 标准行高 */
    --leading-relaxed: 1.625;/* 宽松行高 */
    --leading-loose: 2;      /* 宽松行高 */
    
    /* 字体粗细 - 精细控制 */
    --font-thin: 100;
    --font-extralight: 200;
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
    
    /* 字母间距 */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* 间距系统 - 8点栅格系统 */
    --spacing-0: 0;
    --spacing-px: 1px;
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
    --spacing-5xl: 8rem;     /* 128px */
    
    /* 圆角系统 - 精细控制 */
    --radius-none: 0;
    --radius-xs: 0.125rem;   /* 2px */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 1rem;       /* 16px */
    --radius-xl: 1.5rem;     /* 24px */
    --radius-2xl: 2rem;      /* 32px */
    --radius-full: 9999px;   /* 圆形 */
    
    /* 阴影系统 - 多层次深度 */
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, 0.1), 0 2px 4px -1px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(16, 24, 40, 0.1), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(16, 24, 40, 0.1), 0 10px 10px -5px rgba(16, 24, 40, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(16, 24, 40, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(16, 24, 40, 0.06);
    
    /* 玻璃态效果 */
    --glass-background: rgba(255, 255, 255, 0.7);
    --glass-background-dark: rgba(16, 24, 40, 0.7);
    --glass-backdrop-filter: blur(10px) saturate(180%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.125);
    
    /* 过渡效果 - 精细控制 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* 容器宽度 - 响应式断点 */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Z-index层级系统 */
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-auto: auto;
}

/* 基础重置 - 现代化设置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础排版 - 增强可读性 */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    font-weight: var(--font-normal);
    color: var(--neutral-700);
    background-color: var(--neutral-150);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    letter-spacing: var(--tracking-normal);
}

/* 容器 - 响应式布局 */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: var(--z-10);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

.container-narrow {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 排版系统 - 高级排版 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
    letter-spacing: var(--tracking-tight);
}

h1 { 
    font-size: var(--text-5xl); 
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tighter);
    line-height: 1.1;
}

h2 { 
    font-size: var(--text-4xl); 
    font-weight: var(--font-bold);
}

h3 { 
    font-size: var(--text-3xl); 
    font-weight: var(--font-semibold);
}

h4 { 
    font-size: var(--text-2xl); 
    font-weight: var(--font-semibold);
}

h5 { 
    font-size: var(--text-xl); 
    font-weight: var(--font-medium);
}

h6 { 
    font-size: var(--text-lg); 
    font-weight: var(--font-medium);
}

p {
    margin-bottom: var(--spacing-md);
    max-width: 70ch; /* 提高可读性的最佳行长 */
}

/* 链接样式 - 现代交互 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    font-weight: var(--font-medium);
}

a:hover {
    color: var(--primary-dark);
}

a.underline-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

a.underline-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-normal);
}

a.underline-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 图片增强 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.img-hover-zoom img {
    transition: transform var(--transition-normal);
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* 玻璃态效果组件 */
.glass-card {
    background: var(--glass-background);
    backdrop-filter: var(--glass-backdrop-filter);
    -webkit-backdrop-filter: var(--glass-backdrop-filter);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.glass-card.dark {
    background: var(--glass-background-dark);
    color: var(--neutral-200);
}

/* 辅助类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-light { color: var(--neutral-100); }
.text-muted { color: var(--neutral-500); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--neutral-200); }
.bg-white { background-color: var(--neutral-100); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

/* 按钮系统 - 超前设计风格 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    z-index: var(--z-10);
    letter-spacing: 0.5px;
}

/* 按钮焦点状态 */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
}

/* 按钮波纹效果 */
.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.btn:hover::after {
    left: 100%;
}

/* 主要按钮 - 渐变背景 */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
    transform: translateY(-3px);
}

/* 次要按钮 - 渐变背景 */
.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.35);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.5);
    transform: translateY(-3px);
}

/* 轮廓按钮 - 边框渐变 */
.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    position: relative;
    z-index: var(--z-10);
    border: none;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--primary-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.35);
}

.btn-outline:hover::before {
    opacity: 0;
}

/* 功能按钮 */
.btn-success {
    background-color: var(--success-color);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.35);
}

.btn-success:hover {
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.5);
    transform: translateY(-3px);
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 71, 111, 0.35);
}

.btn-danger:hover {
    box-shadow: 0 8px 25px rgba(239, 71, 111, 0.5);
    transform: translateY(-3px);
}

/* 玻璃态按钮 */
.btn-glass {
    background: var(--glass-background);
    backdrop-filter: var(--glass-backdrop-filter);
    -webkit-backdrop-filter: var(--glass-backdrop-filter);
    border: var(--glass-border);
    color: var(--neutral-700);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* 按钮尺寸 */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
}

/* 图标按钮 */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-icon-only {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-icon svg,
.btn-icon i {
    font-size: 1.25em;
    transition: transform var(--transition-normal);
}

.btn-icon:hover svg,
.btn-icon:hover i {
    transform: translateX(3px);
}

/* 动画按钮 */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

/* 表单系统 */
.form-group {
    margin-bottom: var(--spacing-lg);
}

label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--neutral-700);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--neutral-700);
    background-color: var(--neutral-100);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-hint {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--text-sm);
    color: var(--neutral-500);
}

.required {
    color: var(--error-color);
    margin-left: var(--spacing-xs);
}

.form-error {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--text-sm);
    color: var(--error-color);
}

/* 提示框系统 */
.alert {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid transparent;
    display: flex;
    align-items: flex-start;
}

.alert-icon {
    margin-right: var(--spacing-md);
    font-size: var(--text-xl);
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.alert-message {
    margin-bottom: 0;
}

.alert.success {
    background-color: rgba(39, 174, 96, 0.1);
    border-left-color: var(--success-color);
}

.alert.success .alert-title {
    color: var(--success-color);
}

.alert.error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left-color: var(--error-color);
}

.alert.error .alert-title {
    color: var(--error-color);
}

.alert.warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left-color: var(--warning-color);
}

.alert.warning .alert-title {
    color: var(--warning-color);
}

.alert.info {
    background-color: rgba(52, 152, 219, 0.1);
    border-left-color: var(--info-color);
}

.alert.info .alert-title {
    color: var(--info-color);
}

/* 页头样式 - 现代导航栏 */
.site-header {
    background-color: var(--neutral-100);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-lg);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    transition: color var(--transition-normal);
}

.logo a:hover {
    color: var(--primary-color);
}

.logo img {
    max-height: 50px;
    transition: max-height var(--transition-normal);
}

.scrolled .logo img {
    max-height: 40px;
}

.main-nav {
    transition: all var(--transition-normal);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    color: var(--neutral-600);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 70%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1010;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-normal);
}

.mobile-menu-toggle:hover {
    background-color: var(--neutral-200);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--neutral-700);
    margin: 2px 0;
    transition: all var(--transition-normal);
    border-radius: 1px;
}

.mobile-menu-active .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-active .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-active .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* 页脚样式 - 现代化深色页脚 */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--neutral-300);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-3xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-info {
    padding-right: var(--spacing-lg);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo a {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.footer-description {
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: var(--text-lg);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-info h3::after,
.footer-contact h3::after,
.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
}

.footer-contact-icon {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
    font-size: var(--text-lg);
    min-width: 20px;
    text-align: center;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.footer-links a {
    color: var(--neutral-300);
    transition: all var(--transition-normal);
    display: inline-block;
    padding: var(--spacing-xs) 0;
}

.footer-links a::before {
    content: '›';
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-sm);
}

.footer-bottom p {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom a {
    color: var(--primary-color);
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-column: span 2;
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

/* 首页样式 - 超前设计首屏横幅 */
.hero {
    min-height: 90vh;
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--secondary-color) 100%);
    color: var(--neutral-100);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 动态背景效果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 201, 240, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(247, 37, 133, 0.1) 0%, transparent 30%);
    z-index: 1;
}

/* 装饰元素 */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-decoration .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-decoration .circle-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-1);
    top: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.hero-decoration .circle-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-2);
    bottom: -50px;
    right: 10%;
    animation: float 20s ease-in-out infinite reverse;
}

.hero-decoration .circle-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    top: 20%;
    right: -50px;
    animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(0, 10px) rotate(0deg); }
    75% { transform: translate(-10px, -5px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* 网格布局 */
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

/* 内容区域 */
.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-backdrop-filter);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-1);
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-size: var(--text-6xl);
    font-weight: var(--font-black);
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-100);
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #bcccdc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h1 .highlight {
    position: relative;
    display: inline-block;
    color: var(--accent-1);
    z-index: 1;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -0.1em;
    width: calc(100% + 0.2em);
    height: 0.3em;
    background-color: var(--accent-2);
    opacity: 0.3;
    border-radius: var(--radius-sm);
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-content p {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-xl);
    color: var(--neutral-300);
    max-width: 500px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-100);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-accent);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 图片区域 */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-inner {
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: var(--shadow-2xl), 0 20px 40px rgba(67, 97, 238, 0.3);
}

/* 装饰光晕 */
.hero-image::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.3) 0%, transparent 70%);
    border-radius: var(--radius-full);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite alternate;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.2) 0%, transparent 70%);
    border-radius: var(--radius-full);
    z-index: 1;
    animation: pulse 5s ease-in-out infinite alternate-reverse;
}

/* 浮动元素 */
.floating-card {
    position: absolute;
    background: var(--glass-background);
    backdrop-filter: var(--glass-backdrop-filter);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    border: var(--glass-border);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-xl);
}

.floating-card-content h4 {
    font-size: var(--text-sm);
    margin-bottom: 0;
    color: var(--neutral-800);
}

.floating-card-content p {
    font-size: var(--text-xs);
    margin-bottom: 0;
    color: var(--neutral-600);
}

.floating-card-1 {
    top: 20%;
    left: -20px;
    animation: float-card 6s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 15%;
    right: -20px;
    animation: float-card 8s ease-in-out infinite 1s;
}

@keyframes float-card {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { opacity: 0.1; }
    50% { opacity: 0.2; }
    100% { opacity: 0.1; }
}

/* 首屏响应式样式 */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: var(--spacing-xl);
    }
}

@media (max-width: 576px) {
    .hero {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-content h1 {
        font-size: var(--text-3xl);
    }
    
    .hero-content p {
        font-size: var(--text-base);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* 内容区块 - 超前设计网格布局和卡片设计 */
.section {
    padding: var(--spacing-4xl) 0;
    position: relative;
    overflow: hidden;
}

/* 背景变化 */
.section.bg-light {
    background-color: var(--neutral-150);
}

.section.bg-gradient {
    background: linear-gradient(135deg, var(--neutral-150) 0%, var(--neutral-200) 100%);
}

.section.bg-dark {
    background-color: var(--neutral-900);
    color: var(--neutral-200);
}

/* 波浪分隔线 */
.section-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.section-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.section-wave .shape-fill {
    fill: var(--neutral-150);
}

.section-dark .section-wave .shape-fill {
    fill: var(--neutral-900);
}

/* 装饰元素 */
.section-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.section-decoration .shape {
    position: absolute;
    opacity: 0.05;
}

.section-decoration .shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    top: -150px;
    right: -100px;
}

.section-decoration .shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--secondary-color);
    bottom: -100px;
    left: 10%;
    animation: morph 15s linear infinite alternate;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    50% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
    75% { border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* 标题区域 */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(67, 97, 238, 0.1);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    font-weight: var(--font-extrabold);
}

.section-dark .section-title {
    color: var(--neutral-100);
}

.section-title-underline {
    position: relative;
    z-index: 1;
}

.section-title-underline::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background-color: var(--accent-1);
    opacity: 0.3;
    border-radius: var(--radius-sm);
    z-index: -1;
}

.section-description {
    color: var(--neutral-600);
    font-size: var(--text-xl);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-dark .section-description {
    color: var(--neutral-300);
}

/* 最新文章区块 */
.latest-posts {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

/* 现代卡片设计 */
.post-card {
    background-color: var(--neutral-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--neutral-200);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 20px 30px rgba(67, 97, 238, 0.15);
}

/* 图片容器 */
.post-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.post-card:hover .post-image::after {
    opacity: 1;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-bounce);
}

.post-card:hover .post-image img {
    transform: scale(1.08);
}

/* 分类标签 */
.post-category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

/* 内容区域 */
.post-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* 元数据 */
.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    color: var(--neutral-500);
    font-size: var(--text-sm);
}

.post-date {
    display: flex;
    align-items: center;
    font-weight: var(--font-medium);
}

.post-date::before {
    content: '📅';
    margin-right: 0.5rem;
    font-size: 1em;
}

.post-author {
    display: flex;
    align-items: center;
}

.post-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 0.5rem;
    overflow: hidden;
}

.post-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 标题 */
.post-title {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    line-height: 1.3;
}

.post-title a {
    color: var(--neutral-800);
    transition: color var(--transition-normal);
    background-image: linear-gradient(transparent calc(100% - 3px), var(--primary-color) 3px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size var(--transition-normal);
}

.post-title a:hover {
    color: var(--primary-color);
    background-size: 100% 100%;
}

/* 摘要 */
.post-excerpt {
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-600);
    flex-grow: 1;
    line-height: 1.6;
}

/* 阅读更多链接 */
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    transition: all var(--transition-normal);
    margin-top: auto;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-normal);
}

.read-more::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform var(--transition-normal);
    opacity: 0.7;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover::after {
    transform: translateX(6px);
}

.read-more:hover::before {
    transform: scaleX(1);
}

/* 查看全部按钮 */
.view-all {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

/* 特色内容区块 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

/* 特色卡片 */
.feature-card {
    background-color: var(--neutral-100);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* 特色图标 */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--primary-color);
    font-size: var(--text-3xl);
    transition: all var(--transition-normal);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

/* 特色标题 */
.feature-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    color: var(--neutral-800);
    font-weight: var(--font-bold);
}

/* 特色描述 */
.feature-description {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* 特色链接 */
.feature-link {
    display: inline-flex;
    align-items: center;
    margin-top: var(--spacing-lg);
    color: var(--primary-color);
    font-weight: var(--font-semibold);
    transition: all var(--transition-normal);
}

.feature-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-normal);
}

.feature-link:hover {
    color: var(--primary-dark);
}

.feature-link:hover::after {
    transform: translateX(5px);
}

/* 博客页面样式 */
.page-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.blog-posts {
    padding-bottom: 60px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
}

.page-link:hover {
    background-color: var(--light-color);
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.disabled {
    color: #aaa;
    cursor: not-allowed;
}

.page-link.dots {
    border: none;
}

/* 文章详情页样式 */
.single-post {
    padding: 40px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-content {
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* 联系页面样式 */
.contact-section {
    padding: 40px 0 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    display: flex;
    margin-bottom: 20px;
}

.contact-info .icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* 页面内容样式 */
.page-content {
    padding: 40px 0 60px;
}

.content {
    line-height: 1.8;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.content p {
    margin-bottom: 20px;
}

.content ul,
.content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* 完整响应式布局系统 */
@media (max-width: 1200px) {
    :root {
        --container-max: 960px;
    }
    
    h1 { font-size: calc(var(--text-4xl) * 0.9); }
    h2 { font-size: calc(var(--text-3xl) * 0.9); }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

@media (max-width: 992px) {
    :root {
        --container-max: 720px;
    }
    
    h1 { font-size: calc(var(--text-4xl) * 0.85); }
    h2 { font-size: calc(var(--text-3xl) * 0.85); }
    h3 { font-size: calc(var(--text-2xl) * 0.9); }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-max: 540px;
        --container-padding: 1rem;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .section-description {
        font-size: var(--text-base);
    }
    
    .posts-grid {
        gap: var(--spacing-lg);
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-content {
        padding: var(--spacing-md);
    }
    
    .page-header {
        padding: var(--spacing-xl) 0;
    }
    
    .page-header h1 {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 576px) {
    .features-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 180px;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .alert {
        padding: var(--spacing-md);
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .pagination,
    .post-navigation,
    .social-links,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 辅助类 - 响应式工具 */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
    .d-sm-grid { display: grid !important; }
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-grid { display: grid !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-grid { display: grid !important; }
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-block { display: block !important; }
    .d-xl-flex { display: flex !important; }
    .d-xl-grid { display: grid !important; }
}
