/* 基础重置与变量 (方向04万象地块 主题) */
:root {
    --bg: #E9F0EA;
    --panel: #FFFFFF;
    --ink: #37413B;
    --dim: #8AA091;
    --line: rgba(55,65,59,0.13);
    --acc: #E8843C;
    
    /* 映射到旧变量以兼容结构 */
    --primary-color: var(--acc);
    --primary-hover: #d37330;
    --text-main: var(--ink);
    --text-muted: var(--dim);
    --bg-main: transparent;
    --bg-white: var(--panel);
    --border-color: var(--line);
    
    --shadow: 0 4px 6px -1px rgba(55,65,59,0.05), 0 2px 4px -1px rgba(55,65,59,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(55,65,59,0.08), 0 4px 6px -2px rgba(55,65,59,0.05);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background-color: var(--bg);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

/* 字体排印体系 */
h1, h2, h3, h4, .logo {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
}
.btn, .price, .price span, .number {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
}
.tag, .data, .census, .popular-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 按钮通用样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    min-height: 44px;
    min-width: 44px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--acc);
    color: var(--panel);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 导航栏 */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--ink);
    transition: color 0.4s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.main-nav a:hover {
    color: var(--acc);
}

.logo {
    font-size: 24px;
    color: var(--ink);
    letter-spacing: 1px;
}

/* 主视觉区 (Hero) */
.hero {
    background: transparent;
    color: var(--ink);
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--dim);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
    background: transparent;
}
section[id] {
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--ink);
}

/* 卡片基类 */
.card, .price-card, .support-item, .faq-item, .page-content {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: border-color 0.4s cubic-bezier(0.34,1.56,0.64,1), transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.card:hover, .price-card:hover, .support-item:hover, .faq-item:hover {
    border-color: var(--acc);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 核心优势卡片 */
.features-grid, .support-grid, .reviews-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.card {
    padding: 40px 30px;
    flex: 1;
    text-align: center;
}

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

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.card p {
    color: var(--dim);
}

/* 价格对比表 */
.pricing-section {
    background-color: transparent;
}

.pricing-table {
    display: flex;
    gap: 30px;
    align-items: center;
}

.price-card {
    padding: 40px 30px;
    flex: 1;
    text-align: center;
}

.price-card.popular {
    border: 1px solid var(--acc);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    position: relative;
    z-index: 10;
}
.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--acc);
    color: var(--panel);
    padding: 4px 12px;
    border-radius: 14px;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ink);
}

.price span {
    font-size: 16px;
    color: var(--dim);
}

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

.price-features li {
    margin-bottom: 12px;
    color: var(--dim);
    padding-left: 24px;
    position: relative;
}

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

/* FAQ常见问题 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px;
    margin-bottom: 16px;
    display: block; 
    cursor: pointer;
}

details.faq-item summary {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--ink);
    list-style: none; /* Hide default marker */
    outline: none;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary::before {
    content: "▶ ";
    color: var(--acc);
    font-size: 14px;
    display: inline-block;
    transition: transform 0.3s;
    margin-right: 8px;
}
details.faq-item[open] summary::before {
    transform: rotate(90deg);
}
details.faq-item p {
    margin-top: 10px;
    color: var(--dim);
}

/* 流媒体与AI支持卡片特有样式 */
.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    flex: 1;
}

/* 评价卡片特有样式 */
.review-card {
    text-align: left;
}
.review-text {
    font-style: italic;
    margin-bottom: 20px;
}
.review-author {
    font-weight: bold;
    color: var(--ink);
}

/* 页脚 */
footer {
    background: var(--bg);
    color: var(--dim);
    padding: 60px 0 20px;
    text-align: center;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 10;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    transition: color 0.4s;
}

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

.footer-copy {
    font-size: 14px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 20px;
}

/* 单页文章样式 */
.page-content {
    padding: 60px;
    margin: 40px auto;
    position: relative;
    z-index: 10;
}

.page-content h1 {
    margin-bottom: 30px;
    color: var(--ink);
}

.page-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 15px;
    color: var(--dim);
}

.page-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--dim);
}

/* 动效：滚动显现上移24px淡入 */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* A11y & Mobile Adjustments */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--acc);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.2s;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 2px solid var(--acc);
    outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 文章卡片 (原 SEO 文章用) */
.article-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 30px;
    cursor: pointer;
}
.article-card h3 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--ink);
    transition: color 0.3s;
}
.article-card:hover h3 {
    color: var(--acc);
}
.article-card p {
    font-size: 14px;
    color: var(--dim);
    flex-grow: 1;
    margin-bottom: 20px;
}
.read-more {
    font-size: 14px;
    font-weight: bold;
    color: var(--acc);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sitemap grid */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}
.sitemap-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 24px;
    cursor: pointer;
}
.sitemap-card h3 {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    transition: color 0.3s;
    margin-bottom: 8px;
}
.sitemap-card.seo-card h3 {
    margin-bottom: 0;
    font-size: 15px;
}
.sitemap-card:hover h3 {
    color: var(--acc);
}
.sitemap-card p {
    font-size: 13px;
    color: var(--dim);
    margin: 0;
    line-height: 1.6;
}

/* ==================================
   响应式媒体查询
   ================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .main-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 15px;
    }

    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .features-grid, .support-grid, .reviews-grid {
        flex-direction: column;
    }
    
    .pricing-table {
        flex-direction: column;
        gap: 20px;
    }
    
    .price-card.popular {
        transform: none;
    }
    .price-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-content {
        padding: 30px 20px;
    }
}
