/* style.css - 极简，零JS依赖，纯原生CSS，霓虹夜航风格 */

/* --- 基础重置与变量 --- */
:root {
    --primary-color: #FF2EC4; /* 主色：霓虹粉 */
    --primary-hover: #e021aa;
    --secondary-color: #00E5FF; /* 辅色：电光青 */
    --text-main: #F5EBFF; /* 霓虹文字主色 */
    --text-muted: rgba(245, 235, 255, 0.7);
    --bg-light: transparent;
    --bg-white: transparent;
    --border-color: rgba(0, 229, 255, 0.3);
    --radius: 8px;
    --card-bg: rgba(10, 6, 22, 0.72); /* 卡片深紫黑 72% */
    --shadow-sm: 0 0 10px rgba(0, 229, 255, 0.1);
    --shadow-md: 0 0 15px rgba(0, 229, 255, 0.3); /* 青色外发光 */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    /* 底色深紫黑渐变 */
    background: linear-gradient(135deg, #0A0616 0%, #0D0824 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s, text-shadow 0.2s;
}

/* 标题加粉色霓虹光晕 */
h1, h2, h3, h4 {
    margin-bottom: 0.5em;
    color: var(--text-main);
    text-shadow: 0 0 8px rgba(255, 46, 196, 0.6), 0 0 16px rgba(255, 46, 196, 0.3);
}

/* --- 布局系统 --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.text-center { text-align: center; }
.bg-light { background-color: transparent; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; }

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

/* --- 组件样式 --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.btn-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(255, 46, 196, 0.5) !important;
}
.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 46, 196, 0.8) !important;
}
.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}
.btn-secondary:hover {
    background-color: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}
.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}
.btn-block {
    display: block;
    width: 100%;
    padding: 12px 0;
}

/* --- 头部导航 --- */
.header {
    background: rgba(10, 6, 22, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    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(--text-main);
    text-shadow: 0 0 10px var(--secondary-color);
}
.nav {
    display: flex;
    gap: 30px;
}
.nav a {
    color: var(--text-main);
    font-weight: 500;
}
.nav a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}

/* --- 首屏 Hero --- */
.hero {
    padding: 120px 0 100px;
    background: transparent;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- 卡片 (核心优势 & 评价) --- */
/* 卡片深紫黑 72% + 青色细描边 + 外发光 */
.card, .review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-color);
    transition: transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(5px);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.review-card { background: var(--card-bg); }
.review-text { font-style: italic; color: var(--text-muted); margin-bottom: 15px; }
.review-author { font-weight: 600; color: var(--secondary-color); }

/* --- 流媒体与AI --- */
.unlock-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(5px);
}
.unlock-item h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-main); }
.unlock-item p { color: var(--text-muted); }

/* --- 价格表 --- */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}
.pricing-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--secondary-color);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(5px);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 46, 196, 0.4);
    background: rgba(10, 6, 22, 0.85);
    z-index: 2;
}
.pricing-card:hover, .pricing-card.popular:hover {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 0 10px var(--primary-color);
}
.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
    margin: 20px 0;
}
.currency { font-size: 1.5rem; vertical-align: super; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: normal; }
.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--text-muted);
}
.features-list li:last-child { border-bottom: none; }
.features-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
    text-shadow: 0 0 5px var(--secondary-color);
}

/* --- 常见问题 --- */
.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.faq-item h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 8px;}
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* --- 底部 --- */
.footer {
    background: rgba(10, 6, 22, 0.95);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--text-muted);
    padding: 50px 0 30px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}
.copyright { font-size: 0.9rem; }

/* --- 响应式设计 (媒体查询) --- */
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 1.75rem; margin-bottom: 2rem; }
    
    .header .nav { display: none; }
    .header .btn-nav { padding: 8px 16px; font-size: 0.9rem; }
    
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; width: 100%; padding: 0 20px;}
    .hero-cta .btn { width: 100%; margin-bottom: 10px; padding: 15px;}
    
    .grid-3 { grid-template-columns: 1fr; }
    
    .unlock-banner { grid-template-columns: 1fr; padding: 25px; }
    
    .pricing-table { grid-template-columns: 1fr; gap: 20px;}
    .pricing-card.popular { transform: scale(1); margin: 15px 0;}
    
    .faq-list { grid-template-columns: 1fr; }
    
    .footer-links { flex-wrap: wrap; gap: 15px; }
    .footer-links a { width: 45%; }
}


/* =========================================================================
   背景动效与装饰层 (Neon Background Animations)
   ========================================================================= */

#neon-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* 1. 霓虹细网格 (2.2s 匀速向上滚动循环) 透明度≤8% */
.neon-grid {
    position: absolute;
    top: -56px; left: 0; width: 100vw; height: calc(100vh + 112px);
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: grid-scroll 2.2s linear infinite;
}
@keyframes grid-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-56px); }
}

/* 2. 霓虹雾气 (左右两团 9s/13s 反向呼吸) */
.neon-fog {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}
.pink-fog {
    width: 40vw; height: 40vw;
    background: #FF2EC4;
    top: -10vh; left: -10vw;
    animation: breathe-pink 9s ease-in-out infinite alternate;
}
.cyan-fog {
    width: 50vw; height: 50vw;
    background: #00E5FF;
    bottom: -20vh; right: -15vw;
    animation: breathe-cyan 13s ease-in-out infinite alternate;
}
@keyframes breathe-pink {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.2); opacity: 0.35; }
}
@keyframes breathe-cyan {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.3); opacity: 0.25; }
}

/* 3. 高速光轨 (9s/13s 屏幕外循环) 透明度≤8% */
.light-trail {
    position: absolute;
    height: 2px;
    width: 300px;
    border-radius: 2px;
    opacity: 0.08; /* 正文区域透明度约束 */
}
.trail-1 {
    top: 25%;
    background: linear-gradient(90deg, transparent, #00E5FF, transparent);
    animation: shoot-trail-1 9s linear infinite;
}
.trail-2 {
    top: 75%;
    background: linear-gradient(90deg, transparent, #FF2EC4, transparent);
    animation: shoot-trail-2 13s linear infinite 4s;
}
@keyframes shoot-trail-1 {
    0% { transform: translateX(-400px); }
    100% { transform: translateX(120vw); }
}
@keyframes shoot-trail-2 {
    0% { transform: translateX(-400px); }
    100% { transform: translateX(120vw); }
}

/* 4. 跨洋直航 (页面 58% 高度) */
.flight-path-container {
    position: absolute;
    top: 58%;
    left: 10vw;
    width: 80vw;
    height: 2px;
    /* 电光青虚线航线 */
    background-image: linear-gradient(90deg, rgba(0, 229, 255, 0.4) 50%, transparent 50%);
    background-size: 16px 2px;
}
.signal-ring {
    position: absolute;
    top: 50%;
    width: 30px; height: 30px;
    margin-top: -15px;
    border: 2px solid #00E5FF;
    border-radius: 50%;
    animation: ring-pulse 3s ease-out infinite;
}
.start-ring { left: 0; margin-left: -15px; }
.end-ring { right: 0; margin-right: -15px; animation-delay: 1.5s; }

.flight-dot {
    position: absolute;
    top: 50%; left: 0;
    width: 8px; height: 8px;
    margin-top: -4px; margin-left: -4px;
    background: #FF2EC4;
    border-radius: 50%;
    box-shadow: 0 0 12px 4px rgba(255, 46, 196, 0.8);
    /* 霓虹光点 8s 匀速直达 */
    animation: flight-travel 8s linear infinite;
}
@keyframes ring-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes flight-travel {
    0% { transform: translateX(0); opacity: 0; }
    2% { opacity: 1; }
    98% { opacity: 1; }
    100% { transform: translateX(80vw); opacity: 0; }
}

/* --- 降级处理 (prefers-reduced-motion) --- */
@media (prefers-reduced-motion: reduce) {
    .neon-grid, .pink-fog, .cyan-fog, .light-trail, .signal-ring, .flight-dot {
        animation: none !important;
        opacity: 0.1 !important; /* 保持可见但不运动 */
    }
}


/* Stage 2 SEO & A11y Fixes */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: #fff; padding: 8px 16px; z-index: 1000; transition: top 0.3s; font-weight: bold; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { top: 0; outline: 2px solid var(--secondary-color); }
:focus-visible { outline: 2px dashed var(--primary-color); outline-offset: 4px; }
section, .section, h1, h2, h3, h4, h5, h6 { scroll-margin-top: 90px; }
details.faq-item summary { cursor: pointer; list-style: none; outline: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { margin-bottom: 10px; border-bottom: 1px solid rgba(0, 229, 255, 0.2); padding-bottom: 8px; }
