
:root {
    --primary-color: #F0619E;
    --secondary-color: #C084FC;
    --text-color: #5A2440;
    --bg-start: #FFF0F5;
    --bg-end: #FFF8FB;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(192, 132, 252, 0.3);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    z-index: 9999;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 10px;
}
*:focus-visible {
    outline: 2px dashed var(--primary-color);
    outline-offset: 3px;
}
section[id], h1[id], h2[id], h3[id] {
    scroll-margin-top: 100px;
}

/* FAQ Details Reset */
details.faq-item > summary {
    list-style: none;
    cursor: pointer;
}
details.faq-item > summary::-webkit-details-marker {
    display: none;
}
/* 基础重置 */
* {
    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(--text-color);
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 布局与通用 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.bg-light {
    background-color: transparent; /* Changed for gradient visibility */
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

section {
    padding: 5rem 0;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #d94b88;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(240, 97, 158, 0.05);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 网格系统 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 卡片 (统一 85%白, 粉紫描边, 20px圆角, 粉调投影) */
.card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(240, 97, 158, 0.15);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 导航栏 */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(240, 97, 158, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 主视觉区 */
.hero {
    text-align: center;
    padding: 100px 0;
    background: transparent;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 核心优势 */
.feature-card {
    text-align: center;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 流媒体与AI */
.sa-card {
    background: linear-gradient(135deg, var(--text-color) 0%, #7d3359 100%);
    color: var(--bg-start);
    border: none;
}
.sa-card h3 {
    color: #fff;
}
.sa-card p {
    color: #ffb8d8;
}

/* 价格表 */
.pricing-card {
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.pricing-card ul {
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 用户评价 */
.review-card p {
    font-style: italic;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
}

.review-card .author {
    font-weight: bold;
    text-align: right;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 10px 30px rgba(240, 97, 158, 0.15);
    backdrop-filter: blur(8px);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.faq-item p {
    color: var(--text-color);
    opacity: 0.8;
}

/* 页脚 */
.footer {
    background-color: var(--text-color);
    color: var(--bg-start);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffb8d8;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: var(--secondary-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 动效与背景装饰图层 */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* 光斑 */
.spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1; /* <= 10% transparency */
}
.spot-1 {
    width: 60vw;
    height: 60vw;
    background: var(--primary-color);
    top: -20%;
    left: -10%;
    animation: floatSpot 25s infinite alternate ease-in-out;
}
.spot-2 {
    width: 50vw;
    height: 50vw;
    background: var(--secondary-color);
    bottom: -10%;
    right: -10%;
    animation: floatSpot2 30s infinite alternate ease-in-out;
}

@keyframes floatSpot {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}
@keyframes floatSpot2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -10%) scale(1.1); }
}

/* CSS 绘制爱心与上升摇摆动效 */
.heart-wrapper {
    position: absolute;
    bottom: -100px;
    animation-name: riseAndSway;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.heart {
    position: relative;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    opacity: 0.8;
}
.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
}
.heart::before {
    top: -12px;
    left: 0;
}
.heart::after {
    top: 0;
    left: 12px;
}

.heart-1 { left: 20%; animation-duration: 18s; animation-delay: 0s; }
.heart-1 .heart { transform: scale(0.8) rotate(-45deg); }

.heart-2 { left: 45%; animation-duration: 20s; animation-delay: -5s; }
.heart-2 .heart { transform: scale(1.2) rotate(-45deg); }

.heart-3 { left: 70%; animation-duration: 22s; animation-delay: -10s; }
.heart-3 .heart { transform: scale(0.6) rotate(-45deg); }

.heart-4 { left: 85%; animation-duration: 24s; animation-delay: -15s; }
.heart-4 .heart { transform: scale(1) rotate(-45deg); }

@keyframes riseAndSway {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.6; transform: translate(-20px, -15vh); }
    30% { transform: translate(20px, -35vh); }
    50% { transform: translate(-20px, -55vh); }
    70% { transform: translate(20px, -75vh); }
    90% { opacity: 0.6; transform: translate(-20px, -95vh); }
    100% { transform: translate(0, -110vh); opacity: 0; }
}

/* 动效降级 (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
    .bg-decorations {
        display: none !important;
    }
    .card, .faq-item, .btn {
        transition: none !important;
        animation: none !important;
    }
}

/* 响应式媒体查询 */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    section {
        padding: 3rem 0;
    }

    .btn {
        padding: 15px 24px;
        font-size: 1.1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: none;
    }
}
