/* 全局重置与基础样式 */
:root {
    --primary: #FF2EC4;
    --primary-hover: #D51AA0;
    --secondary: #00E5FF;
    --dark: #F5EBFF;
    --light: #0A0616;
    --gray: #A396BB;
    --border: #00E5FF;
    --white: rgba(10, 6, 22, 0.72);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    background-image: linear-gradient(135deg, #0A0616 0%, #0D0824 100%);
    position: relative;
    z-index: 0;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
.text-center { text-align: center; }
.bg-white { background-color: transparent; }

/* 容器与布局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-full {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/* 导航栏 */
.header {
    background-color: rgba(10, 6, 22, 0.85);
    box-shadow: 0 2px 15px rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}
.logo span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: normal;
}

/* 导航目录 */
.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
}
.nav-links a {
    color: var(--dark);
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--primary);
}

/* 章节通用样式 */
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700; text-shadow: 0 0 10px rgba(255, 46, 196, 0.6);
}
.section-subtitle {
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* 主视觉区 (Hero) */
.hero {
    padding: 100px 0 80px;
    background: transparent;
}
.headline {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark); text-shadow: 0 0 15px rgba(255, 46, 196, 0.8);
}
.sub-headline {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* 卡片通用样式 */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15); backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px); box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

/* 核心优势 */
.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.feature-card p {
    color: var(--gray);
}

/* 流媒体与AI支持 */
.streaming {
    background-color: rgba(10, 6, 22, 0.5);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--dark);
}
.streaming .section-title { color: var(--dark); }
.streaming .section-subtitle { color: var(--gray); }
.support-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 40px;
}
.support-item {
    background: rgba(255,255,255,0.1);
    padding: 12px 24px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

/* 定价卡片 */
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
}
.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.price-card .price {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700; text-shadow: 0 0 10px rgba(255, 46, 196, 0.6);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.features-list {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 30px;
}
.features-list li {
    margin-bottom: 12px;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}
.features-list li::before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.price-card.popular {
    border: 2px solid var(--primary); transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 46, 196, 0.3);
}
.price-card.popular:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 0 30px rgba(255, 46, 196, 0.6); }
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}

/* 用户评价 */
.review-card .review-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
}
.review-card .reviewer {
    color: var(--gray);
    font-weight: 600;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}
.faq-item p {
    color: var(--gray);
}

/* 页脚 */
.footer {
    background-color: var(--white);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    margin: 0 15px;
    color: var(--gray);
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--primary);
}
.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 响应式媒体查询 (手机端适配) */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .headline {
        font-size: 2.2rem;
    }
    .sub-headline {
        font-size: 1rem;
    }
    .section {
        padding: 50px 0;
    }
    .price-card.popular {
        transform: none;
    }
    .price-card.popular:hover {
        transform: translateY(-5px); box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
    }
    .hero {
        padding: 60px 0 40px;
    }
    /* 按钮在手机端加宽适合点击 */
    .btn {
        padding: 12px 24px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    }
    .hero-btn {
        width: 100%;
        display: block;
    }
    .nav-links {
        display: none; /* 手机端隐藏导航，保持极简 */
    }
    .footer-links a {
        display: inline-block;
        margin: 10px 15px;
    }
}

/* === 霓虹夜飙背景动效 === */
.neon-bg-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -999;
    overflow: hidden;
}

.neon-fog {
    position: absolute;
    width: 70vw; height: 70vh;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}
.neon-fog-pink {
    background: #FF2EC4;
    top: -20%; left: -20%;
    animation: fog-breathe-pink 9s infinite alternate ease-in-out;
}
.neon-fog-cyan {
    background: #00E5FF;
    bottom: -20%; right: -20%;
    animation: fog-breathe-cyan 13s infinite alternate ease-in-out;
}
@keyframes fog-breathe-pink { 0% { transform: scale(1); opacity: 0.1; } 100% { transform: scale(1.2); opacity: 0.2; } }
@keyframes fog-breathe-cyan { 0% { transform: scale(1); opacity: 0.1; } 100% { transform: scale(1.3); opacity: 0.25; } }

.neon-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: calc(100% + 56px);
    background-size: 56px 56px;
    background-image: 
        linear-gradient(to right, rgba(0, 229, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
    animation: grid-scroll 2.2s linear infinite;
    opacity: 1;
}
@keyframes grid-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-56px); }
}

.light-trail {
    position: absolute;
    height: 2px;
    width: 300px;
    opacity: 0.08;
    border-radius: 50%;
}
.trail-cyan {
    top: 30%;
    left: -300px;
    background: linear-gradient(to right, transparent, #00E5FF, transparent);
    box-shadow: 0 0 15px #00E5FF;
    animation: trail-move-cyan 9s linear infinite;
}
.trail-pink {
    top: 75%;
    left: -300px;
    background: linear-gradient(to right, transparent, #FF2EC4, transparent);
    box-shadow: 0 0 15px #FF2EC4;
    animation: trail-move-pink 13s linear infinite 4s;
}
@keyframes trail-move-cyan { 0% { transform: translateX(0); } 100% { transform: translateX(150vw); } }
@keyframes trail-move-pink { 0% { transform: translateX(0); } 100% { transform: translateX(150vw); } }

@media (prefers-reduced-motion: reduce) {
    .neon-grid, .neon-fog-pink, .neon-fog-cyan, .trail-cyan, .trail-pink {
        animation: none !important;
    }
}
/* A11y & SEO Requirements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}
section[id], .section {
    scroll-margin-top: 80px;
}
details > summary {
    list-style: none;
    cursor: pointer;
}
details > summary::-webkit-details-marker {
    display: none;
}
