/* 
 * ShareAI Lab Website Styles
 * 作者: ShareAI Lab Team
 * 版本: 2.2.0
 */

/* -----------------------------
 * 1. CSS 变量和基础设置
 * ----------------------------- */
:root {
    /* 品牌主色 */
    --brand-blue: #007AFF;  /* Super2Brain品牌色 */
    --neon-blue: #00f3ff;   /* 网站主题色 */
    --dark-blue: #0051A8;
    --light-blue: #47A3FF;

    /* 霓虹色 */
    --neon-pink: #ff00c8;
    --neon-purple: #bc13fe;

    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, var(--brand-blue), var(--neon-blue));
    --gradient-secondary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    --gradient-dark: linear-gradient(135deg, var(--bg-primary), var(--bg-surface));

    /* 背景色 */
    --bg-primary: #0A0E17;
    --bg-surface: #151922;
    --bg-glass: rgba(21, 25, 34, 0.8);
    --bg-glass-hover: rgba(21, 25, 34, 0.9);
    --bg-terminal: rgba(13, 17, 23, 0.95);

    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 243, 255, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 243, 255, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 243, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 243, 255, 0.3);

    /* 字体 */
    --font-sans-en: 'Inter', sans-serif;
    --font-sans-cn: 'Noto Sans SC', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* 动画时间 */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --primary-color: #00f3ff;
    --secondary-color: #00F3FF;
    --bg-dark: #0A0E17;
    --bg-card: rgba(21, 25, 34, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --font-sans: 'Inter', 'Noto Sans SC', sans-serif;
    --border-color: rgba(0, 243, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-primary);
    color: #ffffff;
    font-family: var(--font-sans-cn), var(--font-sans-en);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

/* -----------------------------
 * 3. 通用组件样式
 * ----------------------------- */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal) var(--transition-bounce);
}

.glass-panel:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(0, 243, 255, 0.3);
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
}

.gradient-text {
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

/* -----------------------------
 * 4. 团队和社区样式
 * ----------------------------- */

/* 团队卡片样式优化 */
.team-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 50% -20%, 
        rgba(0, 243, 255, 0.15) 0%,
        rgba(10, 14, 23, 0.98) 50%,
        var(--bg-primary) 100%
    );
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem;
    position: relative;
}

.team-card {
    background: rgba(21, 25, 34, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 243, 255, 0.5),
        transparent
    );
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(0, 243, 255, 0.03) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 243, 255, 0.1);
}

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

.avatar-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.1),
        rgba(0, 243, 255, 0.05)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 243, 255, 0.2);
    position: relative;
    transition: all 0.5s ease;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.2),
        transparent
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover .avatar-circle {
    transform: scale(1.05);
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 
        0 0 30px rgba(0, 243, 255, 0.2),
        0 0 60px rgba(0, 243, 255, 0.1);
}

.team-card:hover .avatar-circle::before {
    opacity: 1;
}

.avatar-circle span {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.team-name {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.team-role {
    color: var(--neon-blue);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.team-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.team-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.highlight-tag {
    padding: 0.5rem 1.2rem;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.highlight-tag:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 243, 255, 0.1);
}

.member-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.member-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
}

.member-social a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.member-social a:hover {
    color: var(--neon-blue);
    transform: translateY(-3px);
}

.member-social a:hover::before {
    width: 100%;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .team-card {
        padding: 2.5rem 1.5rem;
    }
    
    .avatar-circle {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }
    
    .avatar-circle span {
        font-size: 2.5rem;
    }
    
    .team-name {
        font-size: 1.8rem;
    }
}

/* 社区数据部分样式 */
.community-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        var(--bg-primary) 0%, 
        rgba(21, 25, 34, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.03) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(188, 19, 254, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.stat-card {
    background: rgba(21, 25, 34, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 243, 255, 0.15) 0%,
        rgba(188, 19, 254, 0.15) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 243, 255, 0.1);
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.1),
        rgba(0, 243, 255, 0.05)
    );
    position: relative;
}

.stat-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.3),
        rgba(0, 243, 255, 0.1)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.stat-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.1);
}

.stat-content {
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, #fff 30%, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 243, 255, 0.5),
        rgba(188, 19, 254, 0.5)
    );
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-channels {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.channel-card {
    background: rgba(21, 25, 34, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.channel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 243, 255, 0.15) 0%,
        rgba(188, 19, 254, 0.15) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 243, 255, 0.1);
}

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

.channel-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.channel-card:hover i {
    transform: scale(1.1);
}

.channel-card span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .community-stats {
        gap: 1.5rem;
        padding: 0 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
    }
    
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .community-stats {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 3rem auto;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* 添加数字增长动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* -----------------------------
 * 5. 导航栏样式
 * ----------------------------- */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    transition: background-color var(--transition-normal);
}

.nav-container.scrolled {
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-md);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.language-switch {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.language-switch:hover {
    background: rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

/* -----------------------------
 * 5. Hero 区域样式
 * ----------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1930 0%, #1A365D 100%);
}

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

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(41, 98, 255, 0.1), transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(0, 243, 255, 0.1), transparent 70%);
    z-index: 2;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.1), rgba(0, 243, 255, 0.1));
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(41, 98, 255, 0.1));
    animation: shapeFloat 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.1), rgba(0, 243, 255, 0.1));
    animation: shapeFloat 25s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    animation: badgeAppear 0.8s ease forwards 0.2s;
}

@keyframes badgeAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.badge-icon {
    font-size: 24px;
    margin-right: 12px;
}

.badge-text {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.gradient-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #89CFF0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-20px);
    opacity: 0;
    animation: titleAppear 0.8s ease forwards 0.4s;
}

@keyframes titleAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.highlight {
    display: inline-block;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, transparent);
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    transform: translateY(-20px);
    opacity: 0;
    animation: descAppear 0.8s ease forwards 0.6s;
}

@keyframes descAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    transform: translateY(-20px);
    opacity: 0;
    animation: statsAppear 0.8s ease forwards 0.8s;
}

@keyframes statsAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, #FFFFFF, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    margin: 0 40px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    transform: translateY(-20px);
    opacity: 0;
    animation: buttonsAppear 0.8s ease forwards 1s;
}

@keyframes buttonsAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-button.primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.hero-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.4);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.button-icon {
    margin-left: 12px;
    transition: transform 0.3s ease;
}

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

.hero-visual {
    position: relative;
    transform: translateX(40px);
    opacity: 0;
    animation: visualAppear 1s ease forwards 1.2s;
}

@keyframes visualAppear {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.globe-container {
    width: 100%;
    height: 600px;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.3));
}

.floating-cards {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(40px);
    opacity: 0;
    animation: cardAppear 0.8s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 1.4s;
}

.feature-card:nth-child(2) {
    animation-delay: 1.6s;
}

@keyframes cardAppear {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.feature-card i {
    font-size: 28px;
    color: #4A90E2;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 80px 24px;
    }

    .gradient-title {
        font-size: 56px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .gradient-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-button {
        width: 100%;
        justify-content: center;
    }
}

/* -----------------------------
 * 6. 使命愿景样式
 * ----------------------------- */
.vision-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-surface));
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.vision-card {
    background: var(--bg-glass);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all var(--transition-normal);
}

.vision-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.vision-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.vision-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* -----------------------------
 * 7. 开源项目样式
 * ----------------------------- */
.projects-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-surface);
}

.project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    background: var(--bg-glass);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-stars {
    color: var(--neon-blue);
    font-family: var(--font-mono);
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* 项目卡片优化 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(21, 25, 34, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 243, 255, 0.2) 50%,
        transparent 100%
    );
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 243, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 243, 255, 0.07);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-header h3 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.github-stars, .download-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 243, 255, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.github-stars i, .download-count i {
    color: var(--neon-blue);
    font-size: 0.9rem;
}

.project-badge.new {
    background: rgba(0, 243, 255, 0.15);
    color: var(--neon-blue);
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.project-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    background: rgba(0, 243, 255, 0.04);
    border: 1px solid rgba(0, 243, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(0, 243, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.12);
}

.feature-tag i {
    color: var(--neon-blue);
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.project-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 8px;
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.project-link:hover {
    background: rgba(0, 243, 255, 0.08);
    transform: translateY(-2px);
}

.project-link.download-button {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.project-link.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 243, 255, 0.1) 0%,
        rgba(0, 243, 255, 0.2) 100%
    );
    transition: left 0.3s ease;
    z-index: -1;
}

.project-link.download-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.2);
}

.project-link.download-button:hover::before {
    left: 0;
}

.project-link.download-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.project-link.download-button:hover i {
    transform: translateY(-2px);
}

/* -----------------------------
 * 8. 产品展示样式
 * ----------------------------- */
.products-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-surface), var(--bg-primary));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(0, 243, 255, 0) 0%,
        rgba(0, 243, 255, 0.5) 50%,
        rgba(0, 243, 255, 0) 100%
    );
}

.product-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 123, 255, 0.2);
    color: #007BFF;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.product-badge.enterprise {
    background: rgba(0, 123, 255, 0.2);
    color: #007BFF;
}

.product-badge.beta {
    background: rgba(0, 243, 255, 0.2);
    color: #00f3ff;
}

.product-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 243, 255, 0.15);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--neon-blue);
    font-size: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.product-stats {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.product-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-action:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
}

/* -----------------------------
 * 9. 团队介绍样式
 * ----------------------------- */
.team-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--bg-glass);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.team-card:hover {
    transform: translateY(-10px) rotateX(10deg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.team-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    opacity: 0.8;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-role {
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-desc {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-achievements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.achievement {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-blue);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* 新增：3D卡片效果增强 */
.team-card .team-avatar {
    transform: translateZ(30px);
    transition: transform var(--transition-normal) var(--transition-bounce);
}

.team-card:hover .team-avatar {
    transform: translateZ(50px);
}

/* 新增：数字动画效果 */
.stat-number {
    display: inline-block;
    position: relative;
    font-family: var(--font-mono);
    color: var(--neon-blue);
    text-shadow: var(--shadow-glow);
}

.stat-number::after {
    content: '+';
    position: absolute;
    right: -12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
}

.stat-number:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* -----------------------------
 * 10. 社区参与样式
 * ----------------------------- */
.community-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-surface));
}

.contact-card {
    background: var(--bg-glass);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 243, 255, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-info .icon {
    font-size: 1.5rem;
}

/* -----------------------------
 * 11. 页脚样式
 * ----------------------------- */
.footer {
    padding: var(--spacing-xl) 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-logo span {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--neon-blue);
}

/* -----------------------------
 * 12. 动画
 * ----------------------------- */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* -----------------------------
 * 13. 响应式设计
 * ----------------------------- */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 992px) {
    .vision-grid,
    .project-list,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gradient-title {
        font-size: 3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .vision-grid,
    .project-list,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 2rem;
    }

    .product-footer {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gradient-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* -----------------------------
 * 14. 工具类
 * ----------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal) var(--transition-bounce);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--bg-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
}

.btn-outline:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
}

.hidden { display: none; }
.visible { display: block; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* 虎皮鹦鹉Logo动画 */
.logo-parrot {
    animation: parrotFloat 3s ease-in-out infinite;
}

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

/* 粒子动画 */
@keyframes particleFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* 特性区域样式优化 */
.features-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0f1319 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(188, 19, 254, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(15, 19, 25, 0.5);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 243, 255, 0.15) 0%,
        rgba(188, 19, 254, 0.15) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 19, 25, 0.8);
    border-color: transparent;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-icon i {
    font-size: 26px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 15px;
    flex-grow: 1;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.feature-highlights span {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
}

.feature-card:hover .feature-highlights span {
    background: rgba(0, 243, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

/* 为每个卡片添加不同的图标背景 */
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .feature-card {
        padding: 30px;
    }
}

/* 添加卡片出现动画 */
.feature-card {
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

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

/* 为每个卡片设置不同的动画延迟 */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.subsection-title {
    font-size: 2rem;
    color: #fff;
    margin: 4rem 0 2rem;
    text-align: left;
    position: relative;
    padding-left: 1rem;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 调整第一个子区域标题的上边距 */
.projects-section .subsection-title:first-of-type {
    margin-top: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .subsection-title {
        font-size: 1.75rem;
        margin: 3rem 0 1.5rem;
    }
} 