/* 基础重置与变量 */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

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

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

/* 布局工具 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3.5rem;
    color: var(--text-main);
}

/* 网格系统 */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(37, 99, 235, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 头部导航 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.main-nav {
    display: none;
}

@media (min-width: 800px) {
    .main-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
    .main-nav a {
        color: var(--text-main);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: color 0.2s ease;
    }
    .main-nav a:hover {
        color: var(--primary-color);
    }
}

/* 主视觉区 (Hero) */
.hero {
    background: linear-gradient(135deg, var(--bg-color) 0%, #e0e7ff 100%);
    padding: 4rem 0 6rem 0;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 800px) {
    .hero {
        padding: 6rem 0 8rem 0;
    }
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        text-align: left;
    }
}

.headline {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 800;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
}

@media (min-width: 800px) {
    .headline {
        font-size: 3.25rem;
    }
    .subtitle {
        font-size: 1.25rem;
        margin: 0 0 2.5rem 0;
    }
}

.cta-btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

/* 右侧动态视觉效果 */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.dynamic-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(255, 255, 255, 1);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    text-align: left;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.pulse-ring {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    opacity: 0.25;
    filter: blur(25px);
    animation: pulse 4s infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.15; }
    100% { transform: scale(1.3); opacity: 0.4; }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.speed-bars {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 60px;
    margin-bottom: 2rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #3b82f6, #93c5fd);
    border-radius: 4px 4px 0 0;
    animation: bounce 1.5s infinite ease-in-out alternate;
}

.bar-1 { height: 40%; animation-delay: 0.0s; }
.bar-2 { height: 75%; animation-delay: 0.2s; }
.bar-3 { height: 100%; animation-delay: 0.4s; }
.bar-4 { height: 60%; animation-delay: 0.1s; }
.bar-5 { height: 85%; animation-delay: 0.3s; }

@keyframes bounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

.stats {
    display: flex;
    gap: 1rem;
}

.stat-box {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 12px;
    flex: 1;
}

.stat-box h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.stat-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* 卡片样式 */
.card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.1);
}

/* 优势区域 */
.features .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.features h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #0f172a;
}

.features p {
    color: var(--text-muted);
}

/* 流媒体与AI */
.highlight-card {
    text-align: center;
    background: linear-gradient(to right, #0f172a, #1e293b);
    color: var(--white);
    border: none;
    padding: 4rem 2rem;
}

.highlight-card h2 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.highlight-card p {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.support-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.support-tags span {
    background-color: rgba(255,255,255,0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 价格表 */
.pricing-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.feature-list li:last-child {
    border-bottom: none;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.popular .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

/* 评价 */
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

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

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.faq-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

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

/* 页脚 */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* 子页面样式 */
.page-content {
    background: var(--white);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    margin-top: 4rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}
.page-content h1 {
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2.25rem;
    color: #0f172a;
}
.page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1e293b;
    font-size: 1.5rem;
}
.page-content p, .page-content ul {
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}
.page-content ul {
    padding-left: 2rem;
}
.page-content li {
    margin-bottom: 0.5rem;
}

/* === 博客/SEO 图卡区域 === */
.blog-section { background-color: #f8fafc; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1); border-color: #cbd5e1; }
.blog-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.blog-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; color: #0f172a; line-height: 1.4; }
.blog-excerpt { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.6; flex-grow: 1; }
.blog-link { color: var(--primary-color); font-weight: 600; text-decoration: none; font-size: 0.875rem; align-self: flex-start; }
.blog-link:hover { text-decoration: underline; }

/* SEO文章内页排版 */
.seo-article { line-height: 1.8; font-size: 1.1rem; }
.seo-article h1 { margin-bottom: 2rem; font-size: 2.25rem; color: #0f172a; border-bottom: 2px solid #e2e8f0; padding-bottom: 1rem; }
.seo-article h2 { margin-top: 2.5rem; margin-bottom: 1.25rem; font-size: 1.5rem; color: #1e293b; }
.seo-article p { margin-bottom: 1.5rem; color: #334155; }
.seo-article a { color: var(--primary-color); font-weight: 500; }
.seo-article a:hover { text-decoration: underline; }
.seo-article ul { padding-left: 2rem; margin-bottom: 1.5rem; }
.seo-article li { margin-bottom: 0.75rem; color: #334155; }
