:root {
    --primary-color: #6C5CE7;
    --primary-hover: #5A4BCC;
    --text-main: #1B1B3A;
    --text-muted: #5A5A7A;
    --bg-light: transparent;
    --bg-white: rgba(255, 255, 255, 0.75);
    --border-color: #D6D1F9;
    --gradient-text: linear-gradient(90deg, #6C5CE7, #FF6EC7);
}

* {
    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, #EEF0FF, #FDF1FA);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--primary-hover);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background-color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Cards */
.card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid var(--border-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin: 20px 0 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.pricing-card .btn {
    margin-top: auto;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Reviews */
.review-card {
    text-align: left;
}
.review-text {
    font-style: italic;
    margin-bottom: 20px;
}
.review-author {
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Subpages Content styling */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.page-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    margin-bottom: 80px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.page-content h2 { margin-top: 30px; margin-bottom: 15px; font-size: 1.5rem; }
.page-content p, .page-content ul { margin-bottom: 15px; color: var(--text-muted); }
.page-content ul { padding-left: 20px; }

/* Media Queries (Responsive for Mobile) */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .btn {
        display: block;
        width: 100%;
        padding: 16px; /* Suitable for finger tap */
        font-size: 1.1rem;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-content {
        padding: 20px;
    }
}

/* ========================================= */
/* Y2K Aesthetic Overrides & Background Layer */
/* ========================================= */

h1, h2, .section-title, .logo, h3 {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.card, .pricing-card, .faq-item, .page-content, header {
    background: var(--bg-white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

header {
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.85);
}

.hero, .streaming-ai, .faq, footer, .page-header {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Y2K Background Animation Layer */
.y2k-bg-layer {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -999;
    overflow: hidden;
}

.y2k-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(238, 240, 255, 0.4) 40%, rgba(255, 110, 199, 0.2) 80%);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.8), inset 10px 0 20px rgba(108, 92, 231, 0.2), 0 10px 20px rgba(0,0,0,0.05);
}
.y2k-bubble-1 { width: 110px; height: 110px; top: 15%; left: 10%; animation: y2kFloat1 9s ease-in-out infinite; }
.y2k-bubble-2 { width: 80px; height: 80px; top: 60%; left: 80%; animation: y2kFloat2 12s ease-in-out infinite; animation-delay: -3s; }
.y2k-bubble-3 { width: 70px; height: 70px; top: 80%; left: 20%; animation: y2kFloat3 10s ease-in-out infinite; animation-delay: -5s; }

@keyframes y2kFloat1 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3vh) rotate(7deg); } }
@keyframes y2kFloat2 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(3vh) rotate(-7deg); } }
@keyframes y2kFloat3 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3vh) rotate(-7deg); } }

.y2k-ring {
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 12px solid transparent;
    background: linear-gradient(45deg, #6C5CE7, #FF6EC7, #a0c4ff, #EEF0FF) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: y2kSpinRing 46s linear infinite;
    opacity: 0.6;
}
@keyframes y2kSpinRing { to { transform: rotate(360deg); } }

.y2k-star {
    position: absolute;
    background: linear-gradient(135deg, #FF6EC7, #6C5CE7);
    width: 24px; height: 24px;
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    animation: y2kStarTwinkle 3.4s ease-in-out infinite alternate;
}
.y2k-star-1 { top: 25%; left: 85%; animation-delay: 0s; }
.y2k-star-2 { top: 65%; left: 15%; animation-delay: -0.8s; }
.y2k-star-3 { top: 35%; left: 8%; animation-delay: -1.7s; }
.y2k-star-4 { top: 85%; left: 75%; animation-delay: -2.5s; }

@keyframes y2kStarTwinkle {
    0% { opacity: 0.2; transform: scale(0.8) rotate(0deg); }
    100% { opacity: 0.9; transform: scale(1.2) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
    .y2k-bubble, .y2k-ring, .y2k-star {
        animation: none !important;
        transform: none !important;
    }
}

.page-header p { color: var(--text-muted) !important; }

/* Accessibility & Fixes */
section, .features, .streaming-ai, .pricing, .faq { scroll-margin-top: 90px; }
.skip-link { position: absolute; top: -50px; left: 0; background: var(--primary-color); color: #fff; padding: 10px 15px; z-index: 1000; transition: top 0.3s; text-decoration: none; font-weight: bold; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }



details.faq-item summary { 
    cursor: pointer; 
    outline: none; 
    list-style: none; /* 隐藏默认小三角 */
    display: flex; 
    align-items: center;
}
/* 兼容 Safari / Chrome 隐藏小三角 */
details.faq-item summary::-webkit-details-marker { 
    display: none; 
}
details.faq-item summary h4 {
    margin: 0; /* 消除 h4 默认的外边距导致换行 */
    width: 100%;
}
details.faq-item[open] summary h4 {
    color: var(--primary-color);
    margin-bottom: 10px; /* 展开时给底下文字留空间 */
}
details.faq-item p {
    margin-top: 10px;
}
