/* ========================================
   UETOAI 网站样式表 - 优化版本
   移除冗余代码，只保留实际使用的样式
   ======================================== */

/* ========== 1. CSS变量定义 ========== */
:root {
    /* 颜色系统 - 深色主题 */
    --primary-bg: #0A0B0F;
    --secondary-bg: #161821;
    --tertiary-bg: #1F2235;
    --card-bg: #242842;
    --accent-primary: #6C7CE7;
    --accent-secondary: #A8B2FF;
    --accent-tertiary: #4ECDC4;
    --text-primary: #E8E9F3;
    --text-secondary: #B8BCC8;
    --text-muted: #7A7F8A;
    --border-subtle: #2A2F41;
    --border-accent: #3E4354;
    --glass-bg: rgba(36, 40, 66, 0.7);
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #6C7CE7 0%, #4ECDC4 100%);
    --gradient-secondary: linear-gradient(135deg, #242842 0%, #1F2235 100%);
    --gradient-accent: linear-gradient(135deg, rgba(108, 124, 231, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    
    /* 字体系统 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 5rem;
    
    /* 间距系统 */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* 过渡动画 */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.25s ease-out;
    --transition-slow: 0.35s ease-out;
    
    /* 阴影系统 */
    --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(108, 124, 231, 0.3);
    
    /* 圆角系统 */
    --radius-base: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* 布局尺寸 */
    --container-max-width: 75rem;
    --container-narrow-width: 50rem;
    --navbar-height: 5rem;
    --hero-height: 70vh;
    --portal-size: 25rem;
    --portal-screen-width: 15.625rem;
    --portal-screen-height: 11.25rem;
    --sphere-size: 7.5rem;
    --tool-icon-size: 3rem;
    --tool-icon-img-size: 2rem;
}

/* ========== 2. 基础样式重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

/* ========== 动态背景系统 ========== */
.mountain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.mountain {
    position: absolute;
    width: 200%;
    height: 100%;
}

.mountain:nth-child(1) {
    animation: mountain1 15s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(34,139,34,0.2), transparent);
    z-index: 1;
}

.mountain:nth-child(2) {
    animation: mountain2 20s ease-in-out infinite reverse;
    background: linear-gradient(90deg, transparent, rgba(46,125,50,0.3), transparent);
    animation-delay: -3s;
    z-index: 2;
}

.mountain:nth-child(3) {
    animation: mountain3 18s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(27,94,32,0.4), transparent);
    animation-delay: -6s;
    z-index: 3;
}

#mountainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.fireflies {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.firefly {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,0,0.8) 0%, rgba(255,255,0,0.3) 50%, transparent 100%);
    border-radius: 50%;
    animation: firefly-float 8s ease-in-out infinite;
}

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

@keyframes mountain2 {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes mountain3 {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes firefly-float {
    0%, 100% { 
        opacity: 0.4;
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% { 
        opacity: 0.8;
        transform: translateY(-30px) translateX(20px) scale(1.2);
    }
    50% { 
        opacity: 0.6;
        transform: translateY(-15px) translateX(-15px) scale(0.9);
    }
    75% { 
        opacity: 0.9;
        transform: translateY(-25px) translateX(30px) scale(1.1);
    }
}

/* ========== 3. 通用布局工具类 ========== */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 4. 导航栏模块 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-base);
    /* 添加星空背景效果 */
    overflow: hidden;
}

/* 导航栏星空背景效果 */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 15px, #00ffff, transparent),
        radial-gradient(1px 1px at 40px 35px, #ff00ff, transparent),
        radial-gradient(0.5px 0.5px at 60px 25px, #ffff00, transparent),
        radial-gradient(0.5px 0.5px at 80px 45px, #00ff00, transparent);
    background-repeat: repeat;
    background-size: 100px 50px;
    animation: navbarSparkle 6s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes navbarSparkle {
    0% { transform: translateX(0px); }
    100% { transform: translateX(-100px); }
}

.navbar.navbar-scrolled {
    box-shadow: var(--shadow-base);
    background: rgba(36, 40, 66, 0.95);
}

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

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

.logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-base);
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--tertiary-bg);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* 移动端菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.hamburger.hamburger-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.hamburger-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.hamburger-open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu.mobile-menu-open {
    display: flex !important;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
}

/* ========== 5. 主要内容区域 ========== */
.main-content {
    padding-top: var(--navbar-height);
    min-height: 100vh;
}

.page {
    display: none;
    min-height: calc(100vh - var(--navbar-height));
}

.page.active {
    display: block;
}

.page-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
}

/* ========== 6. 首页Hero区域 ========== */
.landing-hero {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 背景粒子效果 */
.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(108, 124, 231, 0.5);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

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

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--space-8);
    width: 100%;
    min-height: var(--hero-height);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.title-main {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-2);
}

.title-sub {
    font-size: var(--font-size-5xl);
    font-weight: 400;
    color: var(--text-primary);
}

.cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

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

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* ========== 7. 3D场景效果 ========== */
.hero-3d {
    flex: 1;
    height: 600px;
    position: relative;
    z-index: 1;
    perspective: 1500px;
    perspective-origin: center center;
}

.scene-3d {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 2000px;
    perspective-origin: 50% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* 太阳效果 */
.portal-ring {
    position: absolute;
    width: var(--portal-size);
    height: var(--portal-size);
    border: none;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        #FFD700 0%,
        #FFA500 25%,
        #FF8C00 50%,
        #FF6347 75%,
        #FF4500 100%
    );
    transform: rotateX(15deg) rotateY(5deg);
    box-shadow: 
        0 0 80px rgba(255, 215, 0, 0.8),
        0 0 120px rgba(255, 165, 0, 0.6),
        0 0 160px rgba(255, 140, 0, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.3);
    animation: sunSurface 4s ease-in-out infinite;
}

@keyframes sunSurface {
    0%, 100% { 
        box-shadow: 
            0 0 80px rgba(255, 215, 0, 0.8),
            0 0 120px rgba(255, 165, 0, 0.6),
            0 0 160px rgba(255, 140, 0, 0.4),
            inset 0 0 60px rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 100px rgba(255, 215, 0, 1.0),
            0 0 140px rgba(255, 165, 0, 0.8),
            0 0 180px rgba(255, 140, 0, 0.6),
            inset 0 0 80px rgba(255, 255, 255, 0.4);
    }
}

.portal-ring::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.4) 0%,
        rgba(255, 165, 0, 0.2) 40%,
        transparent 70%
    );
    filter: blur(30px);
    z-index: -1;
    animation: sunGlow 3s ease-in-out infinite;
}

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

.portal-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(-5deg);
    width: var(--portal-screen-width);
    height: var(--portal-screen-height);
    background: var(--secondary-bg);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-accent);
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(255, 165, 0, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
}

.screen-content {
    padding: var(--space-5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.screen-title {
    color: var(--accent-primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.screen-dots {
    display: flex;
    gap: var(--space-1);
}

.screen-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.6;
    animation: dotBlink 2s ease-in-out infinite;
}

.screen-dot:nth-child(2) { animation-delay: 0.3s; }
.screen-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.screen-main {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.screen-avatar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #00ff88;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #00ff88;
    text-align: center;
    min-width: 80px;
    box-shadow: 
        0 0 10px rgba(0, 255, 136, 0.3),
        inset 0 0 10px rgba(0, 255, 136, 0.1);
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: avatarPulse 2s ease-in-out infinite;
}

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

.screen-brain {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-tertiary), var(--accent-primary));
    position: relative;
    animation: brainSpin 4s linear infinite;
}

@keyframes brainSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.screen-brain::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: transparent;
    animation: brainOrbit 2s linear infinite;
}

@keyframes brainOrbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 地球效果 */
.purple-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--sphere-size);
    height: var(--sphere-size);
    border-radius: 50%;
    background: 
        radial-gradient(circle at 25% 25%, #E0F7FA 0%, #1976D2 30%),
        conic-gradient(from 0deg, 
            #1565C0 0deg, #2E7D32 60deg, #1565C0 120deg, 
            #2E7D32 180deg, #1565C0 240deg, #2E7D32 300deg, #1565C0 360deg);
    background-blend-mode: soft-light;
    box-shadow: 
        0 0 40px rgba(33, 150, 243, 0.7),
        inset -20px -20px 40px rgba(0, 0, 0, 0.4),
        inset 20px 20px 40px rgba(255, 255, 255, 0.2);
    animation: earthOrbit 12s linear infinite;
    transform-origin: 0 0;
    transform-style: preserve-3d;
}

@keyframes earthOrbit {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg) translateX(250px) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateY(360deg) translateX(250px) rotateY(-360deg) rotateZ(360deg);
    }
}

.purple-sphere::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(33, 150, 243, 0.4) 0%,
        rgba(3, 169, 244, 0.2) 50%,
        transparent 80%
    );
    filter: blur(8px);
    z-index: -1;
}

.purple-sphere::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 40%;
    height: 25%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(6px);
    animation: cloudMove 8s ease-in-out infinite;
}

@keyframes cloudMove {
    0%, 100% { 
        transform: translateX(0px) scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: translateX(20px) scale(1.1);
        opacity: 0.4;
    }
}

.reflection {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, 
        rgba(255, 165, 0, 0.1) 0%, 
        rgba(255, 140, 0, 0.05) 20%,
        rgba(70, 130, 180, 0.03) 60%,
        transparent 100%);
    transform: scaleY(-1) rotateX(45deg);
    opacity: 0.4;
    pointer-events: none;
    transform-origin: top center;
}

/* ========== 8. AI工具展示区域 - 浅色绿色主题优化 ========== */
.ai-tools-section {
    padding: var(--space-20) var(--space-6);
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 0.95) 0%, 
        rgba(236, 253, 245, 0.9) 50%, 
        rgba(220, 252, 231, 0.95) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 20px 40px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* 优化的背景粒子效果 - 绿色主题 */
.ai-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 30px 40px, rgba(34, 197, 94, 0.3), transparent),
        radial-gradient(1px 1px at 60px 80px, rgba(16, 185, 129, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 90px 30px, rgba(5, 150, 105, 0.25), transparent),
        radial-gradient(1px 1px at 120px 70px, rgba(6, 120, 95, 0.2), transparent);
    background-repeat: repeat;
    background-size: 120px 120px;
    animation: particleMove 25s linear infinite;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
    border-radius: var(--radius-xl);
}

@keyframes particleMove {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(-120px) translateY(-120px); }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #10B981, #34D399);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: #374151;
    opacity: 0.8;
    font-weight: 500;
}

/* 增强的分类标签容器 */
.category-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 2;
}

/* 优化的分类标签容器 - 浅色绿色主题 */
.category-tabs {
    display: flex;
    gap: var(--space-1);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(34, 197, 94, 0.2);
    box-shadow: 
        0 8px 32px rgba(34, 197, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    margin: 0 auto var(--space-16);
    width: fit-content;
}

.category-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(34, 197, 94, 0.05) 0%, 
        rgba(16, 185, 129, 0.03) 50%, 
        rgba(34, 197, 94, 0.05) 100%);
    z-index: -1;
}

/* 标签按钮重新设计 - 浅色绿色主题 */
.tab-button {
    background: transparent;
    border: none;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    color: #6B7280;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    min-width: 80px;
}

.tab-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.tab-icon {
    font-size: var(--font-size-lg);
    transition: all var(--transition-base);
    z-index: 2;
    position: relative;
    filter: grayscale(0.3);
}

.tab-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(108, 124, 231, 0.3), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all var(--transition-base);
    z-index: 1;
}

.tab-text {
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    transition: all var(--transition-base);
}

/* 标签按钮悬停和激活状态 */
.tab-button:hover {
    color: #059669;
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.tab-button:hover .tab-glow {
    transform: translate(-50%, -50%) scale(1);
}

.tab-button:hover .tab-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.tab-button.active {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
    box-shadow: 
        0 6px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.tab-button.active .tab-glow {
    transform: translate(-50%, -50%) scale(1.2);
    background: radial-gradient(circle, rgba(108, 124, 231, 0.5), transparent 70%);
}

.tab-button.active .tab-indicator {
    width: 60%;
}

.tab-button.active .tab-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) grayscale(0);
}

.tab-button.active .tab-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 增强的工具网格容器 */
.tools-grid-container {
    position: relative;
    z-index: 2;
}

/* 工具网格容器优化 */
.tools-grid {
    position: relative;
    min-height: 400px;
}

/* 优化的加载占位符 - 浅色主题 */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(108, 124, 231, 0.3);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-placeholder p {
    color: #6B7280;
    font-size: var(--font-size-lg);
    margin: 0;
    font-weight: 500;
}

.tools-category {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-8);
    animation: fadeInUp 0.6s ease-out;
}

.tools-category.active {
    display: grid;
}

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

/* 重新设计的工具卡片 - 浅色绿色主题 */
.tool-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    cursor: pointer;
    box-shadow: 
        0 4px 20px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.05) 0%, 
        rgba(16, 185, 129, 0.03) 50%, 
        rgba(34, 197, 94, 0.05) 100%);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 1;
    border-radius: var(--radius-xl);
}

.tool-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #10B981, #34D399);
    border-radius: var(--radius-xl);
    opacity: 0;
    z-index: -1;
    transition: all var(--transition-base);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card:hover::after {
    opacity: 0.3;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(34, 197, 94, 0.2),
        0 0 30px rgba(16, 185, 129, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.tool-card:hover .tool-icon {
    transform: scale(1.15) rotate(5deg);
}

.tool-card > * {
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    gap: var(--space-4);
}

.tool-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.15));
    border-radius: var(--radius-lg);
    border: 2px solid rgba(34, 197, 94, 0.2);
    transition: all var(--transition-base);
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tool-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: #1F2937;
    line-height: 1.3;
}

.tool-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: var(--space-6);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: #059669;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.tool-link:hover {
    color: white;
    background: linear-gradient(135deg, #10B981, #34D399);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    border-color: transparent;
}

.tool-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-base);
}

.tool-badges {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
}

.tool-badge {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 标签颜色系统 - 浅色主题优化 */
.tool-badge.badge-hot { 
    background: linear-gradient(135deg, #EF4444, #F87171);
    color: white;
    animation: pulse-glow 2s ease-in-out infinite;
}

.tool-badge.badge-new { 
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
}

.tool-badge.badge-free { 
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
}

.tool-badge.badge-premium { 
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: white;
}

.tool-badge.badge-recommended { 
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: white;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 rgba(239, 68, 68, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 20px rgba(239, 68, 68, 0.6);
        transform: scale(1.05);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
        gap: var(--space-1);
        justify-content: center;
    }
    
    .tab-button {
        min-width: 70px;
        padding: var(--space-3) var(--space-4);
    }
    
    .tools-category {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .tool-card {
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .ai-tools-section {
        padding: var(--space-16) var(--space-4);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .tab-button {
        min-width: 60px;
        padding: var(--space-2) var(--space-3);
    }
    
    .tab-text {
        font-size: 10px;
    }
}

/* ========== 9. 关于页面 ========== */
.about-page {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
}

.about-content {
    max-width: var(--container-narrow-width);
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.page-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.page-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-tertiary);
}

/* 知识树组件 */
.tree-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.tree-canvas {
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 100px rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition-base);
}

.tree-canvas:hover {
    transform: scale(1.02);
}

.tree-controls {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-4);
    z-index: 10;
}

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

.tree-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: particleFloat 6s infinite ease-in-out;
}

.tree-tooltip {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-base);
    font-size: var(--font-size-xs);
    pointer-events: none;
    z-index: 20;
    transform: translate(-50%, -100%);
    opacity: 0;
    transition: var(--transition-base);
}

.tree-tooltip.show {
    opacity: 1;
}

/* ========== 10. 知识库页面 ========== */
.links-page {
    min-height: calc(100vh - var(--navbar-height));
    padding: var(--space-12) 0;
}

.links-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.links-grid {
    display: grid;
    gap: var(--space-10);
    max-width: var(--container-narrow-width);
    margin: 0 auto;
}



/* ========== 知识库卡牌样式 ========== */
.knowledge-cards-container {
    max-width: var(--container-narrow-width);
    margin: 0 auto;
}

.cards-section-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-8);
    color: var(--text-primary);
    text-align: center;
}

.knowledge-cards {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.knowledge-card {
    width: 280px;
    height: 420px;
    perspective: 1000px;
    cursor: pointer;
}

.knowledge-card .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.knowledge-card:hover .card-inner {
    transform: rotateY(15deg) rotateX(5deg) scale(1.05);
}

.knowledge-card .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    background-clip: padding-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.knowledge-card-epic {
    background: linear-gradient(145deg, 
        rgba(0, 255, 255, 0.2), 
        rgba(0, 100, 100, 0.3),
        rgba(0, 50, 50, 0.4));
    border: 2px solid #00ffff;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
}

.knowledge-card-mystic {
    background: linear-gradient(145deg, 
        rgba(138, 43, 226, 0.2), 
        rgba(75, 0, 130, 0.3),
        rgba(50, 0, 80, 0.4));
    border: 2px solid #8a2be2;
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.5),
        inset 0 0 30px rgba(138, 43, 226, 0.1);
}

.knowledge-card .card-header {
    text-align: center;
    margin-bottom: 20px;
}

.knowledge-card .card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.knowledge-card-epic .card-title {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.knowledge-card-mystic .card-title {
    color: #8a2be2;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.knowledge-card .card-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.knowledge-card-epic .card-image {
    background: linear-gradient(45deg, #003d3d, #006666, #009999);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.knowledge-card-mystic .card-image {
    background: linear-gradient(45deg, #4b0082, #6a0dad, #8a2be2);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.knowledge-card .character-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.knowledge-card-epic .character-icon {
    color: #00ffff;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.knowledge-card-mystic .character-icon {
    color: #8a2be2;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.8);
}

.knowledge-card .character-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, transparent 30%, rgba(255,255,255,0.1) 70%);
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

.knowledge-card .stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
}

.knowledge-card .star {
    width: 25px;
    height: 25px;
    position: relative;
}

.knowledge-card .star::before {
    content: '★';
    font-size: 25px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: twinkle 1.5s ease-in-out infinite;
}

.knowledge-card .star:nth-child(2)::before { animation-delay: 0.3s; }
.knowledge-card .star:nth-child(3)::before { animation-delay: 0.6s; }
.knowledge-card .star:nth-child(4)::before { animation-delay: 0.9s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.knowledge-card .card-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.knowledge-card .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    color: white;
    font-weight: bold;
}

.knowledge-card .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.knowledge-card .stat-value {
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
}

.knowledge-card-epic .stat-value {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
}

.knowledge-card-mystic .stat-value {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
}

.knowledge-card .card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* 悬停效果 */
.knowledge-card:hover .card-face {
    transform: translateZ(20px);
}

.knowledge-card:hover .character-icon {
    transform: scale(1.1);
}

.knowledge-card:active {
    transform: scale(0.95);
}

/* ========== 11. 页脚 ========== */
.footer {
    position: relative;
    background: linear-gradient(180deg, 
        rgba(139, 195, 74, 0.3) 0%, 
        rgba(104, 159, 56, 0.6) 50%, 
        rgba(76, 175, 80, 0.8) 100%);
    /* border-top: 1px solid var(--border-subtle); */
    margin-top: var(--space-20);
    overflow: hidden;
    min-height: 120px;
}

/* 花草背景效果 */
.footer-meadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-6) 0;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

.icp-info {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin: 0;
}

.icp-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-base);
}

.icp-info a:hover {
    color: var(--text-secondary);
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-base);
    transition: var(--transition-base);
}

.contact-link:hover {
    color: var(--text-primary);
    background: var(--tertiary-bg);
    transform: translateY(-1px);
}

.contact-icon {
    font-size: var(--font-size-base);
    opacity: 0.8;
}

.contact-text {
    font-weight: 500;
}

/* ========== 12. 动画和交互效果 ========== */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tool-card:not(.animate-in),
.section-header:not(.animate-in),
.link-category:not(.animate-in) {
    opacity: 0;
    transform: translateY(30px);
}

/* ========== 页脚花草效果样式 ========== */

/* 草丛样式 */
.footer-grass {
    position: absolute;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to top, 
        #4CAF50 0%, 
        #66BB6A 50%, 
        #81C784 100%);
    border-radius: 2px 2px 0 0;
    transform-origin: bottom center;
    animation: footerGrassSway 3s ease-in-out infinite;
}

/* 花朵容器样式 */
.footer-flower {
    position: absolute;
    bottom: 0;
    transform-origin: bottom center;
    animation: footerFlowerSway 4s ease-in-out infinite;
}

/* 花茎样式 */
.footer-stem {
    width: 2px;
    background: linear-gradient(to top, 
        #388E3C 0%, 
        #4CAF50 100%);
    border-radius: 1px;
    position: relative;
}

/* 花朵样式 */
.footer-bloom {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: footerBloomFloat 3s ease-in-out infinite;
}

/* 不同花朵类型 */
.footer-daisy {
    background: radial-gradient(circle, 
        #FFFFFF 30%, 
        #FFEB3B 70%);
    box-shadow: 0 0 4px rgba(255, 235, 59, 0.6);
}

.footer-daisy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #FF9800;
    border-radius: 50%;
}

.footer-buttercup {
    background: radial-gradient(circle, 
        #FFEB3B 0%, 
        #FFC107 100%);
    box-shadow: 0 0 4px rgba(255, 193, 7, 0.6);
}

.footer-wildflower {
    background: radial-gradient(circle, 
        #E1BEE7 0%, 
        #9C27B0 100%);
    box-shadow: 0 0 4px rgba(156, 39, 176, 0.6);
}

.footer-pink-flower {
    background: radial-gradient(circle, 
        #F8BBD9 0%, 
        #E91E63 100%);
    box-shadow: 0 0 4px rgba(233, 30, 99, 0.6);
}

/* 动画效果 */
@keyframes footerGrassSway {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    25% { 
        transform: rotate(-2deg) scale(1.05);
    }
    75% { 
        transform: rotate(2deg) scale(0.95);
    }
}

@keyframes footerFlowerSway {
    0%, 100% { 
        transform: rotate(0deg);
    }
    33% { 
        transform: rotate(-1deg);
    }
    66% { 
        transform: rotate(1deg);
    }
}

@keyframes footerBloomFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px) scale(1);
    }
    50% { 
        transform: translateX(-50%) translateY(-2px) scale(1.1);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-grass {
        width: 2px;
    }
    
    .footer-bloom {
        width: 8px;
        height: 8px;
        top: -6px;
    }
    
    .footer-stem {
        width: 1.5px;
    }
}

/* 无障碍聚焦样式 */
.nav-link:focus,
.tab-button:focus,
.cta-button:focus,
.tool-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

