/* style.css */
:root {
    --primary-color: #F97316; /* 橘子汽水主色 (按钮) */
    --primary-hover: #EA580C; /* 加深一点的 hover色 */
    --text-main: #431407; /* 深棕/深橘文字 */
    --text-muted: #9A3412;
    --bg-light: transparent; /* 背景透明以露出底部动画 */
    --bg-white: rgba(255, 255, 255, 0.7); /* 霜白半透，营造汽水瓶感且让背景露出 */
    --border-color: rgba(253, 186, 116, 0.4); /* #FDBA74 半透 */
    --shadow: 0 4px 12px rgba(251, 146, 60, 0.15); /* #FB923C */
}

* {
    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-color: transparent;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* 导航栏 */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:not(.btn):hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* 英雄区域 (Hero) */
.hero {
    background: transparent;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* 通用区块样式 */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* 核心优势 (Features) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.article-card {
    display: block;
    text-align: left;
    color: var(--text-main);
}

.article-card:hover h3 {
    color: var(--primary-color);
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Sitemap 小卡片 */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.sitemap-card {
    background: var(--bg-white);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
}

.sitemap-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 流媒体与AI支持 (Media & AI) */
.media-ai {
    background-color: var(--bg-light);
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.media-badge {
    background: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: var(--shadow);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 定价 (Pricing) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    color: #2ed573;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 用户评价 (Testimonials) */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: bold;
    font-style: normal;
    text-align: right;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.faq-q {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-a {
    color: var(--text-muted);
}

/* 页脚 (Footer) */
footer {
    background-color: #7C2D12;
    color: white;
    padding: 3rem 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #ced6e0;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: #747d8c;
    font-size: 0.9rem;
}

/* 内容页面样式 (About, Terms, etc.) */
.page-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    padding: 4rem 3rem;
    max-width: 800px;
    margin: 3rem auto;
    min-height: 70vh;
}
.page-content h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.page-content p {
    margin-bottom: 1rem;
}
.page-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* 响应式设计 (Media Queries) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card.popular {
        transform: scale(1); /* 移动端取消放大效果以防布局问题 */
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* 确保按钮适合手指点击 */
    .btn {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}


/* Accessibility & Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Fixed Header Offset */
.section, .page-content {
    scroll-margin-top: 80px;
}

/* FAQ Details/Summary Styles */
details.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}
details.faq-item summary {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    outline: none;
}
details.faq-item summary:focus-visible {
    color: var(--primary-color);
}
details.faq-item .faq-a {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 相关阅读 (Internal Linking) */
.related-reading {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
}
.related-reading h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}
.related-reading ul {
    list-style: none;
    padding: 0;
}
.related-reading li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.related-reading a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}
.related-reading a:hover {
    color: var(--primary-color);
}
