/* 基础设置 - 加州金岸黄昏风 */
:root {
    --primary-color: #FF6B57;
    --primary-hover: #e55c4a;
    --secondary-color: #FFD166;
    --bg-light: transparent;
    --text-main: #FFF4EA;
    --text-muted: rgba(255, 244, 234, 0.75);
    --white: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

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

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(to bottom, #241245, #6D2A63, #C04A67, #F08A5D, #FFC46B);
    background-attachment: fixed;
    min-height: 100vh;
}

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

h1, h2, h3, h4 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

/* 导航栏 */
.navbar {
    background: rgba(36, 18, 69, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-actions .btn-nav {
    padding: 8px 20px;
    font-size: 14px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFF4EA;
    border: 1px solid var(--secondary-color); /* 1px 金色描边 */
    box-shadow: 0 4px 15px rgba(255, 107, 87, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #FFF4EA;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #241245;
}

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

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #241245;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* 网格布局 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* 玻璃质感卡片通用样式 */
.card, .content-box, .unlock-card, .price-card, .testimonial-card, .text-block, .article {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

/* 主视觉区 */
.hero {
    background: transparent;
    padding: 80px 0 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-main);
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 核心优势 */
.features {
    padding: 80px 0;
    background-color: transparent;
}

.card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 流媒体与AI */
.streaming-ai {
    padding: 80px 0;
    background-color: transparent;
}

.content-box {
    padding: 60px;
}

.unlock-card {
    padding: 30px;
    border-left: 4px solid var(--primary-color);
}

.center-cta {
    text-align: center;
    margin-top: 50px;
}

/* 价格套餐 */
.pricing {
    padding: 80px 0;
    background-color: transparent;
}

.price-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), #f9844a);
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid var(--secondary-color);
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0;
}

.price span {
    font-size: 18px;
    color: var(--text-muted);
}

.features-list {
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    position: relative;
    padding-left: 25px;
    font-size: 15px;
}

.features-list li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.price-card .btn {
    width: 100%;
}

/* 用户评价 */
.testimonials {
    padding: 80px 0;
    background-color: transparent;
}

.testimonial-card {
    padding: 30px;
}

.text-block, .article {
    padding: 40px;
    margin-bottom: 30px;
}

.quote {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--secondary-color);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: transparent;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 页脚 */
.footer {
    background-color: rgba(36, 18, 69, 0.8);
    color: var(--text-main);
    padding: 40px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    .nav-links {
        margin-top: 0;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-actions {
        width: 100%;
        text-align: center;
    }
    .nav-actions .btn-nav {
        width: 100%;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 18px;
    }

    .hero-desc {
        text-align: left;
        font-size: 14px;
        padding: 15px;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        padding: 15px 20px;
    }
    
    .content-box, .text-block, .article {
        padding: 30px 20px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

/* =========================================
   背景动效层 (独立装饰图层)
   ========================================= */
.bg-fx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    pointer-events: none;
    overflow: hidden;
}

/* 1. 柔和落日光晕 */
.sunset-halo {
    position: absolute;
    right: 5%;
    bottom: 25%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.45) 0%, rgba(240, 138, 93, 0.1) 40%, transparent 70%);
    animation: breathHalo 9s infinite alternate ease-in-out;
}
@keyframes breathHalo {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}

/* 2. 深紫云影剪影 */
.cloud {
    position: absolute;
    background: rgba(36, 18, 69, 0.6);
    filter: blur(60px);
    border-radius: 50%;
}
.cloud.shadow-1 {
    width: 60vw;
    height: 30vh;
    top: 25%;
    left: -20%;
    animation: moveCloud1 46s infinite alternate ease-in-out;
}
.cloud.shadow-2 {
    width: 70vw;
    height: 35vh;
    bottom: 5%;
    right: -25%;
    animation: moveCloud2 60s infinite alternate ease-in-out;
}
@keyframes moveCloud1 {
    from { transform: translateX(0); }
    to { transform: translateX(25vw); }
}
@keyframes moveCloud2 {
    from { transform: translateX(0); }
    to { transform: translateX(-35vw); }
}

/* 3. 暖金流萤 */
.firefly {
    position: absolute;
    bottom: -20px;
    width: 4px;
    height: 4px;
    background: #FFD166;
    border-radius: 50%;
    box-shadow: 0 0 12px 3px rgba(255, 209, 102, 0.8);
}
.f-1 { left: 25%; animation: riseFirefly 24s infinite linear, fadeFirefly 24s infinite ease-in-out; }
.f-2 { left: 55%; animation: riseFirefly 30s infinite linear 8s, fadeFirefly 30s infinite ease-in-out 8s; animation-fill-mode: both; }
.f-3 { left: 80%; animation: riseFirefly 27s infinite linear 16s, fadeFirefly 27s infinite ease-in-out 16s; animation-fill-mode: both; }

@keyframes riseFirefly {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-90vh) scale(1.5); }
}
@keyframes fadeFirefly {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* 4. 跨洋直航 */
.flight-route {
    position: absolute;
    top: 78%;
    left: 10%;
    width: 80vw;
    height: 2px;
}
.route-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    border-top: 2px dashed rgba(255, 209, 102, 0.4);
}
.endpoint {
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    background: #FFD166;
    border-radius: 50%;
    box-shadow: 0 0 8px #FFD166;
}
.endpoint.start { left: 0; }
.endpoint.end { right: 0; }

.endpoint .ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid #FFD166;
    transform: translate(-50%, -50%);
}
.endpoint.start .ring { animation: signalRing 3.2s infinite ease-out; }
.endpoint.end .ring { animation: signalRing 3.2s infinite ease-out 1.6s; }

@keyframes signalRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

.flight-dot {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #FFD166;
    border-radius: 50%;
    box-shadow: 0 0 12px 3px rgba(255, 209, 102, 0.9);
    animation: flyDot 12s infinite linear;
}

@keyframes flyDot {
    0% { transform: translateX(0); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateX(80vw); opacity: 0; }
}

/* 动效降级 (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
    .sunset-halo,
    .cloud,
    .firefly,
    .endpoint .ring,
    .flight-dot {
        animation: none !important;
    }
    .flight-dot, .endpoint .ring {
        display: none;
    }
}

/* 无障碍与导航优化 */
.skip-link {
    position: absolute; top: -100px; left: 20px;
    background: var(--primary-color); color: #fff;
    padding: 8px 16px; z-index: 1000; border-radius: 4px;
    transition: top 0.2s;
}
.skip-link:focus { top: 20px; }

:focus-visible {
    outline: 2px dashed var(--secondary-color);
    outline-offset: 4px;
}

[id] {
    scroll-margin-top: 80px;
}

details.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
details.faq-item summary {
    font-size: 18px;
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: bold;
    outline: none;
}
details.faq-item summary:focus-visible {
    outline: 2px dashed var(--secondary-color);
    outline-offset: 4px;
}
details.faq-item p {
    margin-top: 15px;
    color: var(--text-muted);
}
