html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}


@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 6s infinite alternate ease-in-out;
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: #3b82f6;
    top: -50px;
    left: -150px;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: #6366f1;
    bottom: 5%;
    right: -100px;
    animation-delay: -3s;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 60px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-btn {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
    z-index: 1;
    margin-bottom: 50px;
}

/* 增强卡片质感和悬浮动画 */
.feature-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.7);
}

.feature-card .icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(59, 130, 246, 0.1));
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* 入场动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.float-anim {
    animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .feature-card {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.4);
}


@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .glow-1, .glow-2 { display: none; }
    .float-anim { animation: none; } /* 移动端关闭持续漂浮，省电且防止误触感 */
}