/* 主页样式 */
.hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 5rem 1rem 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    animation: fadeIn 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* 特性部分 */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.8rem;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--glass-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    margin: 0 auto 1.8rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text);
    text-align: center;
    font-weight: 600;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    font-size: 1.05rem;
}

/* 统计数据 */
.stats {
    padding: 5rem 0;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.05), transparent);
}

.stats-grid {
    background: var(--card-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.stat-card {
    background: var(--glass-bg);
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    line-height: 1;
}

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

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem 5rem;
        border-radius: 0 0 30px 30px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        gap: 1.8rem;
    }
    
    .feature-card {
        padding: 1.8rem;
    }
    
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        padding: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
