* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #1a1a1a;
}

/* 导航栏 */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 全局音乐控制按钮 */
.music-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-toggle:hover {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.music-toggle.playing {
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    }
}

.logo-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    font-size: 1.6rem;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-menu a:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.nav-menu a.active {
    background: #1a1a1a;
    color: #ffffff;
}

/* 首页样式 */
.home-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.hero-section {
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 5rem;
    font-weight: 400;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card:hover .icon-svg {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.1) drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.card-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.card-button:hover {
    background: #000000;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }
}

