/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1db954;
    --secondary-color: #1ed760;
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== 动态背景 ==================== */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(29, 185, 84, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(30, 215, 96, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 215, 96, 0.3) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
}

.logo-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    opacity: 1 !important;
}

.logo-icon-img:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ==================== 按钮样式 ==================== */
.btn-primary {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.5);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==================== 首页区域 ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 左侧内容 */
.hero-content {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.25rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* 功能卡片 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.feature-card[data-index="0"] { animation-delay: 0.1s; }
.feature-card[data-index="1"] { animation-delay: 0.2s; }
.feature-card[data-index="2"] { animation-delay: 0.3s; }
.feature-card[data-index="3"] { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.2);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 按钮组 */
.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(29, 185, 84, 0.6);
}

/* 右侧模拟UI */
.hero-mockup {
    perspective: 1500px;
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.mockup-window {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s ease;
    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.control-btn:hover {
    transform: scale(1.2);
}

.control-btn.close {
    background: #ff5f56;
}

.control-btn.minimize {
    background: #ffbd2e;
}

.control-btn.maximize {
    background: #27c93f;
}

.window-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.window-content {
    padding: 2rem;
}

/* 播放器模拟 */
.player-mockup {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.player-cover {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.3), rgba(147, 51, 234, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.cover-placeholder {
    opacity: 0.5;
}

.player-info {
    flex: 1;
}

.player-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.player-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.player-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 进度条 */
.progress-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    position: relative;
    animation: progressMove 3s ease-in-out infinite;
}

@keyframes progressMove {
    0%, 100% { width: 40%; }
    50% { width: 60%; }
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 控制按钮 */
.controls-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.control-btn-round,
.control-btn-play {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn-round {
    width: 40px;
    height: 40px;
}

.control-btn-play {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
}

.control-btn-round:hover,
.control-btn-play:hover {
    transform: scale(1.1);
}

.control-btn-play:hover {
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.6);
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse-icon {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0%, 100% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ==================== 功能特性区域 ==================== */
.features-section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* 功能项 */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-visual {
    perspective: 1000px;
}

.visual-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s ease;
}

.visual-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

/* 搜索可视化 */
.search-visual {
    min-height: 300px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.typing-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: typing 3s infinite;
}

@keyframes typing {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    animation: slideIn 0.6s ease;
    animation-fill-mode: both;
}

.result-item:nth-child(1) { animation-delay: 0.1s; }
.result-item:nth-child(2) { animation-delay: 0.2s; }
.result-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 下载可视化 */
.download-visual {
    min-height: 300px;
}

.download-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.song-cover {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.3), rgba(147, 51, 234, 0.3));
    border-radius: 8px;
}

.song-details {
    flex: 1;
}

.song-name,
.song-artist {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.song-name {
    width: 60%;
}

.song-artist {
    width: 40%;
}

.download-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar-mini {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: progressGrow 2s ease-in-out infinite;
}

@keyframes progressGrow {
    0%, 100% { width: 40%; }
    50% { width: 80%; }
}

.download-speed {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* 歌单可视化 */
.playlist-visual {
    min-height: 300px;
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.playlist-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease;
    animation-fill-mode: both;
}

.playlist-card:nth-child(1) { animation-delay: 0.1s; }
.playlist-card:nth-child(2) { animation-delay: 0.2s; }
.playlist-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.playlist-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.playlist-cover {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-cover svg {
    opacity: 0.5;
}

.playlist-name {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin: 0 auto;
    width: 80%;
}

/* 玻璃效果可视化 */
.glass-visual {
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.glass-demo {
    position: relative;
    width: 100%;
    height: 300px;
}

.glass-layer {
    position: absolute;
    border-radius: 24px;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.6s ease;
}

.layer-1 {
    width: 200px;
    height: 200px;
    background: rgba(29, 185, 84, 0.1);
    top: 20px;
    left: 20px;
    animation: float 4s ease-in-out infinite;
}

.layer-2 {
    width: 180px;
    height: 180px;
    background: rgba(147, 51, 234, 0.1);
    top: 60px;
    right: 40px;
    animation: float 5s ease-in-out infinite;
    animation-delay: -1s;
}

.layer-3 {
    width: 160px;
    height: 160px;
    background: rgba(30, 215, 96, 0.1);
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

/* 功能文本 */
.feature-text {
    position: relative;
}

.feature-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -2rem;
    left: -1rem;
    z-index: -1;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/* ==================== 界面展示区域 ==================== */
.showcase-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(29, 185, 84, 0.05) 100%);
}

.showcase-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    perspective: 2000px;
}

.showcase-window {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    transform: rotateX(10deg);
    transition: transform 0.6s ease;
}

.showcase-window:hover {
    transform: rotateX(0deg);
}

/* 应用预览界面 */
.app-preview {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    height: 600px;
    overflow: hidden;
}

/* 左侧导航栏 */
.preview-sidebar {
    grid-column: 1;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 16px;
}

.preview-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.preview-logo svg {
    stroke: var(--primary-color);
}

.preview-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.2s;
    cursor: pointer;
}

.preview-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.preview-nav-item.active {
    background: rgba(29, 185, 84, 0.1);
    color: var(--primary-color);
}

/* 主内容区域 */
.preview-main {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 72px;
}

.preview-topbar {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.preview-search svg {
    opacity: 0.5;
}

.preview-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-secondary);
    font-size: 13px;
}

.preview-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.preview-content::-webkit-scrollbar {
    width: 6px;
}

.preview-content::-webkit-scrollbar-track {
    background: transparent;
}

.preview-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.preview-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.preview-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.preview-card-cover {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.3), rgba(147, 51, 234, 0.3));
    border-radius: 6px;
    margin-bottom: 8px;
}

.preview-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-card-name {
    height: 8px;
    width: 80%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.preview-card-artist {
    height: 6px;
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.preview-songs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-song-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.preview-song-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.preview-song-cover {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.3), rgba(147, 51, 234, 0.3));
    border-radius: 4px;
    flex-shrink: 0;
}

.preview-song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-song-name {
    height: 8px;
    width: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.preview-song-artist {
    height: 6px;
    width: 40%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.preview-song-btn {
    width: 24px;
    height: 24px;
    background: rgba(29, 185, 84, 0.2);
    border-radius: 50%;
}

/* 底部播放器 */
.preview-player {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 220px;
}

.preview-player-cover {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.3), rgba(147, 51, 234, 0.3));
    border-radius: 4px;
    flex-shrink: 0;
}

.preview-player-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-player-song {
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.preview-player-artist {
    height: 6px;
    width: 70%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.preview-player-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-control-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.preview-control-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.preview-control-btn-play {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.preview-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preview-progress-fill {
    height: 100%;
    width: 35%;
    background: var(--primary-color);
    border-radius: 2px;
}

.preview-player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 120px;
}

.preview-volume-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.preview-volume-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preview-volume-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ==================== 下载区域 ==================== */
.download-section {
    padding: 6rem 2rem;
    position: relative;
}

.download-container {
    max-width: 1400px;
    margin: 0 auto;
}

.download-content {
    text-align: center;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.download-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 500px;
    width: 100%;
    flex: 1;
    min-width: 400px;
}

.download-card-large {
    padding: 4rem 3rem;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(29, 185, 84, 0.3);
}

.platform-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 24px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.platform-icon svg {
    color: var(--primary-color);
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.download-feature svg {
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.download-feature span {
    color: var(--text-secondary);
    font-size: 1rem;
}

.btn-download-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.btn-download-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(29, 185, 84, 0.6);
}

.btn-download-primary {
    font-size: 1.25rem;
    padding: 1.5rem 4rem;
}

/* 广告卡片样式 */
.ad-card {
    border-color: rgba(147, 51, 234, 0.3);
}

.ad-card:hover {
    border-color: rgba(147, 51, 234, 0.6);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.3);
}

.ad-card .platform-icon {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
}

.ad-card .platform-icon svg {
    color: #9333ea;
}

.ad-card .download-feature svg {
    stroke: #9333ea;
}

.btn-download-secondary {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.btn-download-secondary:hover {
    box-shadow: 0 12px 35px rgba(147, 51, 234, 0.6);
}

.version-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ==================== 页脚 ==================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    opacity: 1 !important;
}

.footer-logo-img:hover {
    transform: rotate(360deg);
    background: rgba(255, 255, 255, 0.15);
}

.footer-description {
    color: var(--text-secondary);
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .hero-container,
    .feature-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-item.reverse {
        direction: ltr;
    }
    
    .hero-mockup {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==================== 滚动动画 ==================== */
@media (prefers-reduced-motion: no-preference) {
    [data-feature] {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    [data-feature].visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 页面切换样式 ==================== */
.preview-page {
    display: none;
    animation: fadeInPage 0.4s ease;
}

.preview-page.active {
    display: block;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 搜索结果页面 ==================== */
.preview-search-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-song-duration {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-right: 12px;
    min-width: 40px;
    text-align: right;
}

.preview-download-btn {
    width: 28px;
    height: 28px;
    background: rgba(29, 185, 84, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.preview-download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: translate(-50%, -60%) rotate(45deg);
}

.preview-download-btn:hover {
    background: rgba(29, 185, 84, 0.4);
    transform: scale(1.1);
}

/* ==================== 下载列表页面 ==================== */
.preview-download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.preview-download-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.preview-download-item.downloading {
    border-color: rgba(29, 185, 84, 0.3);
}

.preview-download-item .preview-song-cover {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.preview-download-item .preview-song-info {
    flex: 1;
    min-width: 0;
}

.preview-download-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
}

.preview-progress-bar-mini {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preview-progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.preview-download-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}

.preview-progress-text {
    color: var(--text-tertiary);
}

.preview-speed-text {
    color: var(--primary-color);
    font-weight: 600;
}

.preview-download-size {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-right: 12px;
    min-width: 70px;
    text-align: right;
}

.preview-status-badge {
    padding: 4px 12px;
    background: rgba(29, 185, 84, 0.2);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ==================== 我的页面 ==================== */
.preview-library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.preview-library-actions {
    display: flex;
    gap: 8px;
}

.preview-action-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.preview-action-btn svg {
    color: var(--text-secondary);
}

.preview-playlists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.preview-playlist-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.preview-playlist-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(29, 185, 84, 0.5);
    transform: translateY(-2px);
}

.preview-playlist-cover {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-playlist-cover svg {
    color: var(--text-secondary);
    opacity: 0.6;
}

.preview-playlist-info {
    flex: 1;
    min-width: 0;
}

.preview-playlist-name {
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin-bottom: 6px;
    width: 75%;
}

.preview-playlist-count {
    font-size: 0.65rem;
    color: var(--text-tertiary);
}
