/* CSS自定义属性 */
:root {
    /* 主色调 - 现代渐变色彩系统 */
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #764ba2;
    --secondary-color: #48bb78;
    --accent-color: #ff6b6b;
    --accent-gradient: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    --danger-color: #f56565;
    
    /* 渐变背景 */
    --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-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* 中性色 */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-inverse: #ffffff;
    --text-muted: #a0aec0;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #1a202c;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-dark: rgba(0, 0, 0, 0.1);
    
    /* 边框和分割线 */
    --border-color: #e2e8f0;
    --border-hover: #cbd5e0;
    --border-focus: #667eea;
    --border-glass: rgba(255, 255, 255, 0.2);
    
    /* 阴影系统 */
    --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 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);
    --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-accent: 0 0 30px rgba(255, 107, 107, 0.4);
    
    /* 圆角系统 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    /* 间距系统 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* 字体系统 */
    --font-sans: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    
    /* 动画系统 */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;
    --easing-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-ease-in: cubic-bezier(0.4, 0, 1, 1);
    --easing-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --easing-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* 玻璃态效果 */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-backdrop: blur(20px);
    
    /* 3D效果 */
    --transform-3d: perspective(1000px) rotateX(0deg) rotateY(0deg);
    --transform-hover: perspective(1000px) rotateX(-5deg) rotateY(5deg);
}

/* 暗色主题 */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --text-inverse: #1f2937;
    
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --bg-card: #1f2937;
    
    --border-color: #374151;
    --border-hover: #4b5563;
}

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

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: color var(--duration-normal) var(--easing-ease), 
                background-color var(--duration-normal) var(--easing-ease);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: all var(--duration-normal) var(--easing-ease);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 32, 44, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-xl);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(26, 32, 44, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
    transition: all var(--duration-normal) var(--easing-ease);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--easing-ease);
    pointer-events: none;
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--easing-ease);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left var(--duration-slow) var(--easing-ease);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-glass);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-glass);
}

.nav-indicator {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--easing-ease);
}

.nav-link.active .nav-indicator {
    width: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}


/* 主题切换按钮 */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all var(--duration-fast) var(--easing-ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-secondary);
}

.theme-icon {
    transition: transform var(--duration-normal) var(--easing-ease);
}

[data-theme="dark"] .theme-icon {
    transform: rotate(180deg);
}

/* 移动端导航切换 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--easing-ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--easing-ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow-accent);
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s var(--easing-ease);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ff5252, #ff7979);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--easing-ease);
}

.btn-primary:hover .btn-shine {
    transform: translateX(100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left var(--duration-normal) var(--easing-ease);
    z-index: 1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--text-inverse);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary .btn-content {
    position: relative;
    z-index: 2;
}

.nav-download-btn {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow-accent);
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-download-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

/* 主页部分 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    overflow: hidden;
    padding: 120px 0 80px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.08) 0%, transparent 50%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(36px);
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.18) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.14) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: -2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(72, 187, 120, 0.14) 0%, transparent 70%);
    top: 30%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
    }
    33% { 
        transform: translateY(-30px) translateX(20px) scale(1.1); 
    }
    66% { 
        transform: translateY(20px) translateX(-15px) scale(0.9); 
    }
}

.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.08;
}

/* 浮动装饰图标 */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(0, 0, 0, 0.04);
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation-delay: -2s;
}

.floating-icon:nth-child(3) {
    animation-delay: -4s;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: center;
    width: 100%;
}

.hero-text {
    color: var(--text-primary);
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--primary-color);
}

.badge-icon {
    color: var(--primary-color);
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
    font-family: var(--font-sans);
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

/* 强制覆盖旧的渐变透明标题样式，确保在浅色背景下可读 */
.hero .hero-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: var(--text-primary) !important;
}

.title-line {
    display: block;
    animation: slideInUp 0.8s var(--easing-ease) both;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}


.hero .gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-primary);
}
.hero .gradient-text::after { display: none; }

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    opacity: 1;
    color: var(--text-primary);
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--easing-ease);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

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

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

.stat-icon {
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.8;
}

.stat-label {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.trust-badges {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.badge-item {
    opacity: 0.8;
    transition: opacity var(--duration-fast) var(--easing-ease);
}

.badge-item:hover {
    opacity: 1;
}

.badge-img {
    height: 40px;
    width: auto;
}

/* 现代设备展示区域 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    perspective: 1000px;
}

.device-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.device {
    position: absolute;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    transition: all var(--duration-normal) var(--easing-ease);
    transform-style: preserve-3d;
}

.phone-device {
    width: 200px;
    height: 400px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%) rotateY(-15deg) rotateX(5deg);
    animation: floatDevice 6s ease-in-out infinite;
}

.desktop-device {
    width: 300px;
    height: 200px;
    top: 30%;
    right: 15%;
    transform: rotateY(15deg) rotateX(-5deg);
    animation: floatDevice 6s ease-in-out infinite 2s;
}

@keyframes floatDevice {
    0%, 100% { 
        transform: translateY(-50%) rotateY(-15deg) rotateX(5deg) translateZ(0); 
    }
    50% { 
        transform: translateY(-60%) rotateY(-10deg) rotateX(8deg) translateZ(20px); 
    }
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: var(--text-inverse);
    padding: var(--space-md);
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.app-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    height: calc(100% - 40px);
    justify-content: center;
}

.vpn-status {
    text-align: center;
}

.status-indicator {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
}

.status-dot {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.status-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.server-info {
    font-size: 12px;
    opacity: 0.7;
}

.speed-indicator {
    text-align: center;
}

.speed-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-color);
}

.speed-unit {
    font-size: 12px;
    opacity: 0.7;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-md);
}

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

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

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.window-title {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
}

.connection-panel {
    width: 100%;
}

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

.server-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--easing-ease);
}

.server-item.active {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.server-flag {
    font-size: 16px;
}

.server-name {
    font-size: 12px;
    font-weight: 600;
}

.server-ping {
    font-size: 10px;
    opacity: 0.7;
}

.connection-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-svg {
    width: 100%;
    height: 100%;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    animation: floatIcon 4s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    left: 5%;
    animation-delay: -1s;
}

.icon-3 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

@keyframes floatIcon {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-inverse);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-arrow {
    animation: bounceArrow 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* 人物角色设计 */
.character {
    position: absolute;
    z-index: 3;
}

.main-char {
    top: 40%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.main-char .char-head {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    border-radius: 50%;
    position: relative;
    margin: 0 auto 10px;
}

.main-char .char-body {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #4834d4, #686de0);
    border-radius: 20px 20px 40px 40px;
    position: relative;
}

.main-char .char-arm-left {
    position: absolute;
    top: 20px;
    left: -15px;
    width: 25px;
    height: 50px;
    background: #f7b733;
    border-radius: 15px;
    transform: rotate(-20deg);
}

.main-char .char-arm-right {
    position: absolute;
    top: 20px;
    right: -15px;
    width: 25px;
    height: 50px;
    background: #f7b733;
    border-radius: 15px;
    transform: rotate(20deg);
}

.side-char-1 {
    top: 30%;
    left: 20%;
    transform: scale(0.8);
}

.side-char-1 .char-head {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #eb4d4b, #6c5ce7);
    border-radius: 50%;
    margin: 0 auto 8px;
}

.side-char-1 .char-body {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #a29bfe, #74b9ff);
    border-radius: 15px 15px 30px 30px;
}

.side-char-2 {
    top: 60%;
    left: 70%;
    transform: scale(0.7);
}

.side-char-2 .char-head {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    border-radius: 50%;
    margin: 0 auto 8px;
}

.side-char-2 .char-body {
    width: 55px;
    height: 70px;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    border-radius: 15px 15px 25px 25px;
}


/* 连接线 */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection-lines path {
    stroke-dasharray: 5, 5;
    animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 20; }
}

/* VPN设备窗口 */
.vpn-windows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.vpn-window {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 8px;
    animation: float 5s ease-in-out infinite;
}

.vpn-window.mobile {
    animation-delay: -2.5s;
}

.window-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.window-controls {
    display: flex;
    gap: 4px;
}

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

.control-btn.red { background: #ff5f57; }
.control-btn.yellow { background: #ffbd2e; }
.control-btn.green { background: #28ca42; }

.window-content {
    padding: 12px;
    text-align: center;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #28ca42;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.mobile-screen {
    background: #000;
    border-radius: 8px;
    padding: 4px 8px;
    color: white;
    font-size: 8px;
    min-width: 60px;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.signal-bars {
    display: flex;
    gap: 1px;
}

.signal-bars span {
    width: 2px;
    background: white;
    display: block;
}

.signal-bars span:nth-child(1) { height: 3px; }
.signal-bars span:nth-child(2) { height: 5px; }
.signal-bars span:nth-child(3) { height: 7px; }
.signal-bars span:nth-child(4) { height: 9px; }

.app-icon-vpn {
    text-align: center;
    padding: 8px;
}

.vpn-shield {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    margin: 0 auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* 微交互动画 */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

/* 为Hero元素添加进入动画 */
.hero-text {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-visual {
    animation: slideInRight 1s ease-out 0.4s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* 悬停效果增强 */
.character:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


/* 博客页面样式 */
body.blog-page {
    min-height: 100vh;
    background: var(--bg-primary);
}

/* 博客页面导航栏样式修复 */
body.blog-page .navbar {
    background: var(--bg-glass) !important;
    backdrop-filter: var(--glass-backdrop) !important;
    border-bottom: 1px solid var(--border-glass) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transition: all var(--duration-normal) var(--easing-ease) !important;
}

body.blog-page .navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 var(--space-lg) !important;
    height: 70px !important;
}

body.blog-page .nav-brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

body.blog-page .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: var(--space-lg) !important;
    flex: 1 !important;
    justify-content: center !important;
}

body.blog-page .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: var(--space-md) !important;
    flex-shrink: 0 !important;
}

body.blog-page .navbar.scrolled {
    background: var(--bg-card) !important;
    box-shadow: var(--shadow-lg) !important;
}

body.blog-page .logo-text {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    padding-left: 10px !important;
}

body.blog-page .nav-link.active {
    color: var(--primary-color) !important;
}

body.blog-page .nav-link.active .nav-indicator {
    opacity: 1 !important;
    transform: scaleX(1) !important;
}

/* 桌面端导航栏样式 */
@media (min-width: 769px) {
    body.blog-page .nav-toggle {
        display: none !important;
    }
    
    body.blog-page .nav-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row !important;
        padding: 0 !important;
    }
}

/* 博客页面页脚样式修复 */
.blog-main .footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.blog-main .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
}

.blog-main .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-md);
}

.blog-main .footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
}

.blog-main .footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    align-items: start;
    margin-bottom: var(--space-2xl);
}

.blog-main .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.blog-main .footer-column {
    display: flex;
    flex-direction: column;
}

.blog-main .footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.blog-main .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-main .footer-list li {
    margin-bottom: var(--space-sm);
}

.blog-main .footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--easing-ease);
}

.blog-main .footer-list a:hover {
    color: var(--primary-color);
}

.blog-main .footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.blog-main .footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.blog-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 80px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.blog-main-content {
    min-width: 0;
}

/* 博客文章样式 */
.blog-post {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-post.featured {
    border: 2px solid var(--primary-color);
}

.post-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid var(--border-color);
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.post-date,
.post-category,
.post-rating {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    font-weight: 500;
}

.post-rating {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    font-weight: 600;
}

.post-content {
    padding: 40px;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-intro {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    padding: 20px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.post-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin: 10px 0;
    line-height: 1.6;
}

.post-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-section {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius-xl);
    margin-top: 40px;
}

.faq-item {
    margin: 25px 0;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* 博客文章卡片网格 */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--easing-ease);
    border: 1px solid var(--border-color);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.post-card-header {
    padding: 25px 25px 15px;
}

.post-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-card-excerpt {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 25px 25px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration-fast) var(--easing-ease);
}

.post-card-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.post-card-link::after {
    content: '→';
    transition: transform var(--duration-fast) var(--easing-ease);
}

.post-card-link:hover::after {
    transform: translateX(4px);
}

/* 侧边栏样式 */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 搜索框 */
.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--duration-fast) var(--easing-ease);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-fast) var(--easing-ease);
}

.search-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* 分类列表 */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--duration-fast) var(--easing-ease);
}

.category-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.category-link:last-child {
    border-bottom: none;
}

.category-count {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    transition: all var(--duration-fast) var(--easing-ease);
    border: 1px solid var(--border-color);
}

.tag-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 下载链接 */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--easing-ease);
    border: 1px solid var(--border-color);
}

.download-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.download-link svg {
    color: var(--primary-color);
    transition: color var(--duration-fast) var(--easing-ease);
}

.download-link:hover svg {
    color: white;
}

/* 响应式设计 - 博客页面 */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        position: static;
        order: -1;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .blog-main .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .blog-main .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 100px 0 60px;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .post-header,
    .post-content {
        padding: 25px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .blog-main .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .blog-main .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    /* 博客页面移动端导航栏 */
    body.blog-page .navbar .container {
        padding: 0 var(--space-md) !important;
    }
    
    body.blog-page .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--bg-card) !important;
        flex-direction: column !important;
        padding: var(--space-lg) !important;
        box-shadow: var(--shadow-lg) !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all var(--duration-normal) var(--easing-ease) !important;
        z-index: 999 !important;
    }
    
    body.blog-page .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    body.blog-page .nav-toggle {
        display: block !important;
    }
}

/* 响应式设计 - 主页 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }
    
    .hero-visual {
        height: 500px;
        margin-top: var(--space-xl);
    }
    
    .device-showcase {
        transform: scale(0.9);
    }
    
    .phone-device {
        width: 180px;
        height: 360px;
        left: 15%;
    }
    
    .desktop-device {
        width: 270px;
        height: 180px;
        right: 10%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .stat-item {
        padding: var(--space-md);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        backdrop-filter: var(--glass-backdrop);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        padding: var(--space-lg);
        transform: translateX(-100%);
        transition: transform var(--duration-normal) var(--easing-ease);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-actions {
        gap: var(--space-sm);
    }
    
    .hero {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: var(--space-lg);
    }
    
    .device-showcase {
        transform: scale(0.8);
    }

    
    .phone-device {
        width: 160px;
        height: 320px;
        left: 10%;
    }
    
    .desktop-device {
        width: 240px;
        height: 160px;
        right: 5%;
    }
    
    .floating-icon {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* 新增移动端样式 */
    .row {
        margin-right: -10px;
        margin-left: -10px;
    }
    
    .col-lg-6,
    .col-sm-12 {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .user-interact-inner h2 {
        font-size: 1.75rem;
    }
    
    .user-interact-inner p {
        font-size: 1rem;
    }
    
    .user-interact-inner,
    .user-interact-image {
        padding: var(--space-md);
    }
    
    .feature-image {
        margin: var(--space-sm);
        padding: var(--space-lg);
    }
    
    .feature-metrics {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .metric {
        min-width: 80px;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .pt-120,
    .pb-120 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .product-intro,
    .global-access,
    .security-privacy {
        padding: 40px 0;
    }
}

/* 通用部分样式 */
section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Bootstrap Grid 样式 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6,
.col-sm-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.align-items-center {
    align-items: center !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.mb-lg-0 {
    margin-bottom: 0 !important;
}

.text-center {
    text-align: center !important;
}

.pt-120 {
    padding-top: 120px !important;
}

.pb-120 {
    padding-bottom: 120px !important;
}

/* 产品介绍部分样式 */
.product-intro,
.global-access,
.security-privacy {
    padding: 80px 0;
}

.security-privacy.bg-2 {
    background: var(--bg-secondary);
}

.user-interact-inner {
    padding: var(--space-xl);
    animation: fadeInUp 0.8s ease-out both;
}

.user-interact-inner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.user-interact-inner p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.user-interact-image {
    text-align: center;
    padding: var(--space-xl);
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.user-interact-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-interact-image img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* 左右交替布局的特殊动画 */
.product-intro .user-interact-image {
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.global-access .user-interact-inner {
    animation: slideInLeft 0.8s ease-out both;
}

.global-access .user-interact-image {
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.security-privacy .user-interact-image {
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.security-privacy .user-interact-inner {
    animation: slideInRight 0.8s ease-out both;
}

/* 功能特色部分 */
.features {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
}

.features-grid.cards-elevated {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
    .features-grid.cards-elevated {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid.cards-elevated {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--easing-ease), box-shadow var(--duration-normal) var(--easing-ease);
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 200px at var(--x, 50%) var(--y, 50%), rgba(102,126,234,0.12), transparent 40%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--easing-ease);
    pointer-events: none;
}

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

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

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.feature-card-icon.gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.feature-card-icon.gradient-2 { background: linear-gradient(135deg, #1dd1a1, #10ac84); }
.feature-card-icon.gradient-3 { background: linear-gradient(135deg, #ff6b6b, #ff8e8e); }
.feature-card-icon.gradient-4 { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-card-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-image {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    margin: var(--space-lg);
}

.feature-icon-large {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.feature-metrics {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-lg);
}

.metric {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    min-width: 100px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

.global-map {
    position: relative;
    margin-top: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.server-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.server-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: serverPulse 2s infinite;
}

@keyframes serverPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.security-badges {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-lg);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.server-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.server-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: serverPulse 2s infinite;
}

@keyframes serverPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.security-badges {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-options {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
}

.pricing-chip {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.pricing-chip.active {
    background: var(--primary-color);
    color: var(--text-inverse);
    border-color: var(--primary-color);
}

.platform-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--easing-ease);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.platform-icon:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.support-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 下载部分 */
.download {
    background: var(--bg-secondary);
}

.download.bg-2 {
    background: var(--bg-secondary);
}

.col-lg-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
}

.download-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.devices-showcase {
    text-align: center;
}

.devices-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.download-buttons {
    display: grid;
    gap: var(--space-xl);
}

.platform-download-btn {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--easing-ease);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.platform-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left var(--duration-slow) var(--easing-ease);
}

.platform-download-btn:hover::before {
    left: 100%;
}

.platform-download-btn:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.platform-download-btn .platform-icon {
    flex-shrink: 0;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--easing-ease);
}

.platform-download-btn.ios .platform-icon {
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: white;
}

.platform-download-btn.android .platform-icon {
    background: linear-gradient(135deg, #3ddc84, #4caf50);
    color: white;
}

.platform-download-btn.windows .platform-icon {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
}

.platform-download-btn.mac .platform-icon {
    background: linear-gradient(135deg, #1d1d1f, #515154);
    color: white;
}

.platform-download-btn .platform-info {
    flex: 1;
}

.platform-download-btn .platform-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.platform-download-btn .platform-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.platform-download-btn .download-arrow {
    color: var(--primary-color);
    transition: transform var(--duration-normal) var(--easing-ease);
}

.platform-download-btn:hover .download-arrow {
    transform: translateX(6px);
}

.download-stats {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.download-stats .stat-item {
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.download-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--space-xs);
}

.download-stats .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}


/* 客服支持部分 */
.support {
    padding: var(--space-4xl) 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
}

.support-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: left;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--duration-normal) var(--easing-ease);
    position: relative;
    overflow: hidden;
}

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

.support-icon {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.support-btn {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-xl);
    font-weight: 700;
    cursor: pointer;
    margin-bottom: var(--space-lg);
    transition: all var(--duration-normal) var(--easing-ease);
    box-shadow: var(--shadow-glow-accent);
}

.support-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.35);
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.help-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: inline-block;
    height: 40px;
    width: auto;
}

.footer-desc {
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-inverse);
    text-decoration: none;
    transition: all var(--duration-fast) var(--easing-ease);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--duration-fast) var(--easing-ease);
}

.footer-links a:hover {
    color: var(--text-inverse);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    opacity: 0.7;
}

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

.footer-links-inline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--duration-fast) var(--easing-ease);
}

.footer-links-inline a:hover {
    color: var(--text-inverse);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-normal) var(--easing-ease);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 在线客服 */
.chat-widget {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 1000;
}

.chat-button {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--secondary-color);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--easing-ease);
    animation: chatPulse 3s infinite;
}

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

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-visual {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .download-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .chat-widget {
        left: var(--space-md);
        bottom: var(--space-md);
    }
    
    .back-to-top {
        right: var(--space-md);
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        gap: var(--space-md);
    }
    
    .btn {
        font-size: 0.9rem;
        padding: var(--space-md) var(--space-lg);
    }
    
    .stats-grid {
        gap: var(--space-sm);
    }
    
    .stat-item {
        padding: var(--space-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* 工具提示 */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) var(--easing-ease);
    z-index: 1000;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 加载动画 */
.loading {
    opacity: 0;
    animation: fadeInUp var(--duration-slow) var(--easing-ease) forwards;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --bg-secondary: #f0f0f0;
        --text-secondary: #000000;
    }
    
    [data-theme="dark"] {
        --border-color: #ffffff;
        --bg-secondary: #1a1a1a;
        --text-secondary: #ffffff;
    }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .phone-mockup {
        animation: none;
    }
    
    .chat-button {
        animation: none;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .back-to-top,
    .chat-widget {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }
    
    .hero-background {
        display: none;
    }
}