:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --dark: #1a1a2e;
    --light: #f4f7f6;
    --text: #333;
    --gray: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
html { zoom: 0.85; } /* 按照您的要求将全局画面缩放至 85% */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text); background-color: var(--light); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 60px 0; }

h1, h2, h3, h4 { margin-bottom: 15px; color: var(--dark); }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }

a { text-decoration: none; }

/* 导航栏 (居中与鲜艳风格) */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: linear-gradient(135deg, #0044ff 0%, #00d4ff 100%); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 4px 20px rgba(0, 150, 255, 0.4); border: none; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 90%; max-width: 1200px; margin: 0 auto; height: 70px; position: relative; }
.nav-logo { font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.nav-links { display: none; }
@media(min-width: 768px) {
    .nav-links { display: flex; gap: 40px; position: absolute; left: 50%; transform: translateX(-50%); }
    .nav-links a { color: #ffffff; transition: all 0.3s ease; font-size: 1.1rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.15); }
    .nav-links a:hover { color: #ffe600; transform: translateY(-2px); text-shadow: 0 2px 10px rgba(255, 230, 0, 0.6); }
}
.nav-container .btn { background: #fff !important; color: #0044ff !important; border: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; font-weight: 800 !important; }
.nav-container .btn:hover { background: #ffe600 !important; color: #1a1a2e !important; box-shadow: 0 6px 20px rgba(255, 230, 0, 0.5) !important; transform: translateY(-2px); }

/* 按钮组件 */
.btn { display: inline-block; padding: 14px 30px; border-radius: 8px; font-weight: bold; text-align: center; transition: 0.3s; width: 100%; max-width: 250px; cursor: pointer; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; width: auto; max-width: none; }
.btn-primary { background: #ffe600; color: #1a1a2e; box-shadow: 0 4px 15px rgba(255, 230, 0, 0.4); border: none; }
.btn-primary:hover { background: #fff; color: #0044ff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* 主视觉区 (Hero) */
.hero { background: linear-gradient(135deg, #0044ff 0%, #00d4ff 100%); color: #fff; padding: 130px 0 80px; overflow: hidden; }
.hero-container { display: flex; flex-direction: column; align-items: center; gap: 50px; text-align: center; }
.hero-content { flex: 1; z-index: 10; }
.hero-content h1 { color: #fff; font-size: 3.5rem; margin-bottom: 15px; letter-spacing: 2px; }
.hero-content h2 { color: #ffe600; font-size: 1.5rem; margin-bottom: 25px; font-weight: bold; text-shadow: 0 2px 5px rgba(255, 230, 0, 0.4); }
.hero-content p { color: #ddd; font-size: 1.1rem; margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* 动态图卡区域 */
.hero-graphic { flex: 1; position: relative; width: 100%; max-width: 500px; min-height: 350px; display: flex; justify-content: center; align-items: center; }
.dynamic-card { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; padding: 25px; color: #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.main-card { width: 85%; z-index: 2; animation: floatMain 6s ease-in-out infinite; }
.card-header { display: flex; align-items: center; margin-bottom: 20px; font-weight: bold; font-size: 1.1rem; }
.green-pulse { display: inline-block; width: 12px; height: 12px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 10px #2ecc71; animation: pulse 1.5s infinite; margin-right: 12px; }
.ping-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 8px; overflow: hidden; }
.ping-fill { height: 100%; background: linear-gradient(90deg, #007bff, #00d2ff); border-radius: 4px; animation: progress 3s ease-in-out infinite alternate; }
.ping-text { font-size: 0.9rem; color: #ccc; }

.float-card { position: absolute; padding: 12px 24px; font-weight: bold; font-size: 0.95rem; border-radius: 30px; z-index: 3; box-shadow: 0 10px 25px rgba(0,0,0,0.4); border: none; }
.float-1 { top: 5%; right: 0; background: linear-gradient(135deg, #e50914, #b81d24); animation: float 4s ease-in-out infinite; }
.float-2 { bottom: 10%; left: 0; background: linear-gradient(135deg, #10a37f, #0c8c6c); animation: float 5.5s ease-in-out infinite reverse; }

/* 动画关键帧 */
@keyframes floatMain { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float { 0%, 100% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-15px) scale(1.05); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
@keyframes progress { 0% { width: 85%; } 100% { width: 98%; } }

@media(min-width: 900px) {
    .hero-container { flex-direction: row; text-align: left; }
    .hero-content p { margin-left: 0; margin-right: 0; }
    .btn-primary, .btn-outline { width: auto; min-width: 180px; }
}

/* 卡片通用 */
.features, .streaming-ai, .faq, .testimonials { display: flex; flex-direction: column; gap: 20px; }
.card, .review-card, .faq-item { background: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.bg-dark { background: var(--dark); color: #fff; }
.bg-dark h3 { color: #fff; }
.bg-dark p { color: #aaa; }

/* 响应式网格 */
@media(min-width: 768px) {
    .features { flex-direction: row; justify-content: space-between; }
    .features .card { width: 32%; }
    .grid-2 { display: flex; gap: 25px; }
    .grid-2 > div { flex: 1; }
}

/* 价格表 */
.pricing-grid { display: flex; flex-direction: column; gap: 25px; align-items: center; }
.price-card { background: #fff; padding: 40px 25px; border-radius: 12px; width: 100%; max-width: 350px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative; border: 1px solid #eaeaea; transition: 0.3s; }
.price-card:hover { border-color: var(--primary); }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,123,255,0.1); z-index: 2; }
.badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--primary); color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; box-shadow: 0 4px 10px rgba(0,123,255,0.3); }
.price { font-size: 2.8rem; font-weight: bold; color: var(--primary); margin: 25px 0; }
.price span { font-size: 1rem; color: var(--gray); }
.price-card ul { list-style: none; margin-bottom: 35px; text-align: left; padding: 0 20px; }
.price-card ul li { margin-bottom: 12px; color: var(--gray); position: relative; padding-left: 25px; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: #28a745; font-weight: bold; }
@media(min-width: 900px) {
    .pricing-grid { flex-direction: row; justify-content: center; align-items: stretch; }
    .price-card { flex: 1; max-width: 33%; }
}

/* SEO 博客文章图卡区 */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media(min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.blog-card-img { width: 100%; height: 180px; }
/* 渐变图卡替代外部图片，确保秒开 */
.img-1 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.img-2 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.img-3 { background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%); }
.img-4 { background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); }
.img-5 { background: linear-gradient(135deg, #fdcbf1 0%, #e6dee9 100%); }
.img-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.img-7 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.img-8 { background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); }
.img-9 { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }

.blog-card-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.blog-card-content h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.5; }
.blog-card-content h3 a { color: var(--dark); transition: color 0.3s; }
.blog-card-content h3 a:hover { color: var(--primary); }
.blog-card-content p { color: var(--gray); font-size: 0.95rem; margin: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ */
.faq-item h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; }
.faq-item p { color: var(--gray); }

/* 页脚 */
footer { background: var(--dark); color: #aaa; text-align: center; padding: 40px 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 0 0 25px 0; }
.footer-links a { color: #fff; transition: 0.3s; font-size: 1.05rem; }
.footer-links a:hover { color: var(--primary); }
.copyright { font-size: 0.9rem; border-top: 1px solid #333; padding-top: 20px; width: 90%; max-width: 1200px; margin: 0 auto; }

/* 子页面通用样式 */
.page-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin: 110px auto 50px;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    width: 90%;
}
.page-container h1 { font-size: 2.2rem; margin-bottom: 30px; border-bottom: 1px solid #eaeaea; padding-bottom: 15px; text-align: center; }
.page-container h2 { text-align: left; font-size: 1.5rem; margin-top: 35px; margin-bottom: 15px; }
.page-container p, .page-container ul { margin-bottom: 20px; color: var(--gray); font-size: 1.05rem; }
.page-container ul { padding-left: 20px; }
.page-container ul li { margin-bottom: 10px; }
