/* 网易云音乐资讯站 - 全局样式 */
:root {
    --primary-color: #c62f2f;
    --primary-dark: #a02020;
    --secondary-color: #335eea;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-color: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

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

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: 70px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 36px;
    height: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

/* Hero区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f5f7ff 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 客户端模拟器 */
.phone-mockup {
    position: relative;
    width: 320px;
    height: 640px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 2px #333;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.app-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #c62f2f 0%, #8b1a1a 100%);
    padding: 50px 20px 20px;
    color: #fff;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.app-search {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    border: none;
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

.app-search::placeholder {
    color: rgba(255,255,255,0.6);
}

.app-banner {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.app-playlist {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
}

.app-playlist h4 {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.app-song {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.app-song:last-child {
    border-bottom: none;
}

.app-song-cover {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 6px;
}

.app-song-info {
    flex: 1;
}

.app-song-title {
    font-size: 13px;
    font-weight: 500;
}

.app-song-artist {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 2px;
}

.app-song-duration {
    font-size: 11px;
    opacity: 0.6;
}

.app-player {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-cover {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 8px;
}

.player-info {
    flex: 1;
}

.player-title {
    font-size: 13px;
    font-weight: 500;
}

.player-artist {
    font-size: 11px;
    opacity: 0.6;
}

.player-controls {
    display: flex;
    gap: 16px;
}

.player-btn {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn.play {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
}

/* 公告区 */
.announcement {
    background: linear-gradient(90deg, #fff5f5, #fff);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.announcement .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.announcement-tag {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.announcement-text {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
}

.announcement-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

/* 通用板块样式 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-secondary);
}

/* 核心功能 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 产品对比 */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 16px;
}

.compare-table th.highlight {
    background: var(--primary-color);
    color: #fff;
}

.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.compare-table .check {
    color: #22c55e;
    font-size: 20px;
}

.compare-table .cross {
    color: #ef4444;
    font-size: 20px;
}

/* 新闻Tab */
.news-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
}

.news-tab {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.news-tab.active,
.news-tab:hover {
    background: var(--primary-color);
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.news-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.news-card-content {
    padding: 24px;
}

.news-card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #fff5f5;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

/* 用户评论 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

/* 下载区 */
.download-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-align: center;
}

.download-section h2 {
    color: #fff;
}

.download-section p {
    color: rgba(255,255,255,0.8);
}

.download-platforms {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    min-width: 180px;
}

.download-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px);
    color: #fff;
}

.download-btn-icon {
    font-size: 28px;
}

.download-btn-text {
    text-align: left;
}

.download-btn-text small {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

.download-btn-text strong {
    display: block;
    font-size: 16px;
}

/* 信任背书 */
.trust-section {
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    opacity: 0.6;
    transition: var(--transition);
}

.trust-logo:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* 应用场景 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.scenario-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.scenario-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 底部CTA */
.cta-section {
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* 面包屑 */
.breadcrumb {
    padding: 20px 0;
    background: var(--bg-secondary);
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:last-child {
    color: var(--text-primary);
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .features-grid,
    .news-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .news-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-platforms {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
