:root {
    --bg-color: #fff7ed;
    --bg-card: #ffffff;
    --text-main: #9a3412;
    --text-muted: #c2410c;
    --text-heading: #7c2d12;
    --text-inverse: #ffffff; /* Button text, always light/dark to contrast primary */
    --primary-color: #ea580c;
    --primary-hover: #c2410c;
    --secondary-color: #ffedd5;
    --glass-border: rgba(0,0,0,0.08);
    --hero-gradient-1: #ffedd5;
    --hero-gradient-2: #fff7ed;
    --footer-bg: #ffedd5;
    --footer-text: #c2410c;
}

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

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 90px;
    overflow-x: hidden;
}

/* 布局通用 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; font-weight: 800; color: var(--text-heading); }
.text-left { text-align: left; }

/* 按钮通用 */
.btn {
    display: inline-block;
    padding: 16px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    text-align: center;
}
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--primary-color); color: var(--text-inverse) !important; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary-color); color: var(--text-main); border: 1px solid var(--glass-border); }
.btn-secondary:hover { opacity: 0.8; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background: rgba(0,0,0,0.05); }
.btn-full { display: block; width: 100%; }
.btn-large { padding: 18px 40px; font-size: 1.1rem; flex: none; }

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 4px 25px rgba(0,0,0,0.2); }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
}
.pulse { animation: pulse 2s infinite; }

/* 页眉 & 导航栏 */
.header {
    padding: 15px 20px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo { font-size: 1.2rem; font-weight: 800; color: var(--text-heading); }
.nav-links { display: none; } /* 移动端隐藏导航文本 */
.header-btn { padding: 8px 20px; border-radius: 8px; font-size: 0.9rem; }

/* 主视觉 Hero区 */
.hero { 
    text-align: center; 
    padding: 40px 20px 60px; 
    background: radial-gradient(circle at top center, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 100%);
    position: relative;
    overflow: hidden;
}
.hero-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -0.5px; line-height: 1.2; color: var(--text-heading);}
.hero-subtitle { font-size: 1rem; color: var(--text-muted); margin-bottom: 30px; }
.desktop-cta { display: none; }

/* 动态图卡 */
.hero-visual { 
    position: relative; 
    height: 350px; 
    width: 100%; 
    margin-top: 40px; 
}
.floating-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
    color: var(--text-heading);
}
.float-icon { font-size: 2rem; }
.float-text { font-size: 0.9rem; font-weight: bold; text-align: left; }
.float-text span { font-size: 0.75rem; color: var(--primary-color); }

.card-1 { top: 0; left: 5%; animation-delay: 0s; }
.card-2 { top: 35%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 10%; left: 15%; animation-delay: 4s; }

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

/* 核心优势 */
.features { padding: 60px 20px; }
.feature-grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1200px; margin: 0 auto; }
.feature-card { background: var(--bg-card); padding: 30px 20px; border-radius: 16px; text-align: center; border: 1px solid var(--glass-border); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-heading); }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* 流媒体与 AI */
.streaming-ai { padding: 40px 20px; }
.streaming-container { display: flex; flex-direction: column; gap: 30px; max-width: 1200px; margin: 0 auto; }
.streaming-text p { margin-bottom: 20px; color: var(--text-muted); }
.streaming-visual { display: flex; flex-direction: column; gap: 15px; }
.visual-card { background: var(--bg-card); padding: 15px; border-radius: 12px; font-weight: bold; text-align: center; border: 1px solid var(--glass-border); color: var(--text-heading); }

/* 定价表 */
.pricing { padding: 60px 20px; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.pricing-card { background: var(--bg-card); border-radius: 16px; padding: 40px 30px; position: relative; border: 1px solid var(--glass-border); text-align: center; color: var(--text-main); }
.pricing-card.popular { border: 2px solid var(--primary-color); background: var(--hero-gradient-1); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: var(--text-inverse); padding: 5px 15px; border-radius: 16px; font-size: 0.8rem; font-weight: bold; }
.price { font-size: 3.5rem; font-weight: 800; margin: 20px 0; color: var(--text-heading); }
.price span, .price small { font-size: 1.2rem; color: var(--text-muted); font-weight: normal; }
.pricing-features { list-style: none; margin-bottom: 30px; text-align: left; }
.pricing-features li { margin-bottom: 15px; font-size: 0.95rem; }

/* 用户评价 */
.reviews { padding: 40px 20px; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.review-card { background: var(--bg-card); padding: 30px; border-radius: 16px; border: 1px solid var(--glass-border); }
.stars { color: #fbbf24; margin-bottom: 15px; font-size: 1.2rem; }
.review-card p { font-style: italic; }
.author { color: var(--text-muted); font-size: 0.9rem; margin-top: 15px; font-weight: bold; }

/* FAQ */
.faq { padding: 40px 20px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; }
.faq-item h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-heading); }
.faq-item p { color: var(--text-muted); }

/* 页脚 */
.footer { background: var(--footer-bg); color: var(--text-main); text-align: center; padding: 60px 20px; }
.footer-links { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--text-heading); }
.copyright { color: var(--footer-text); font-size: 0.9rem; }

/* 移动端悬浮底栏 */
.bottom-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--bg-color);
    padding: 15px 20px; display: flex; gap: 15px;
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
}
.bottom-action-bar .btn { flex: 1; }

@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .nav-links { display: flex; gap: 30px; align-items: center; }
    .nav-links a { color: var(--text-main); text-decoration: none; font-weight: 600; transition: color 0.2s; }
    .nav-links a:hover { color: var(--primary-color); }
    .highlight-link { color: var(--primary-color) !important; border-bottom: 1px dashed var(--primary-color); padding-bottom: 2px;}

    .hero { padding: 100px 20px 80px; text-align: left; }
    .hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
    .hero-content { flex: 1; max-width: 50%; }
    .hero-visual { flex: 1; height: 450px; margin-top: 0; }
    .hero-title { font-size: 3.5rem; letter-spacing: -2px; margin-bottom: 20px; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 40px; }
    
    .bottom-action-bar { display: none; }
    .desktop-cta { display: flex; justify-content: flex-start; gap: 20px; margin-bottom: 0; }

    .card-1 { top: 10%; left: 0; padding: 15px 30px;}
    .card-2 { top: 45%; right: 0; padding: 15px 30px;}
    .card-3 { bottom: 10%; left: 20%; padding: 15px 30px;}
    .float-text { font-size: 1.1rem; }

    .feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .streaming-container { flex-direction: row; align-items: center; }
    .streaming-text, .streaming-visual { flex: 1; }
    .streaming-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .visual-card { width: calc(50% - 15px); }

    .pricing-grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
    .pricing-card.popular { transform: scale(1.05); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links { flex-direction: row; justify-content: center; gap: 40px; }
}

/* 优化文章内链与外链对比度 */
.article-content a:not(.btn):not(.btn-primary):not(.internal-link-btn) {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.2s;
}
.article-content a:not(.btn):not(.btn-primary):not(.internal-link-btn):hover {
    color: var(--primary-hover);
}

.internal-link-btn {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: var(--text-inverse) !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: bold;
    margin: 0 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.internal-link-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ================== Deluxe Upgrades ================== */
/* Toast Notifications */
#toast-container { position: fixed; bottom: 30px; left: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; pointer-events: none; }
@media (max-width: 768px) {
    #toast-container { bottom: 100px; left: 15px; }
}
.toast-msg { background: var(--bg-card); color: var(--text-main); padding: 15px 25px; border-radius: 12px; border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.2); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 12px; transform: translateX(-150%); opacity: 0; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-size: 0.95rem; }
.toast-msg.show { transform: translateX(0); opacity: 1; }
.toast-icon { background: var(--primary-color); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.toast-text span { color: var(--primary-color); font-weight: bold; }

/* Comparison Table */
.comparison-section { padding: 80px 20px; background: var(--hero-gradient-2); }
.comparison-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.comparison-table th, .comparison-table td { padding: 20px; text-align: center; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { background: rgba(0,0,0,0.2); font-weight: 600; color: var(--text-heading); font-size: 1.1rem; }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--text-main); }
.comparison-table .brand-col { background: rgba(255,255,255,0.03); border-left: 2px solid var(--primary-color); border-right: 2px solid var(--primary-color); }
.brand-col-header { background: var(--primary-color) !important; color: #fff !important; }
.check-icon { color: #22c55e; font-size: 1.2rem; font-weight: bold; }
.cross-icon { color: var(--text-muted); font-size: 1.2rem; opacity: 0.5; }
@media (max-width: 768px) {
    .comparison-table th, .comparison-table td { padding: 12px 10px; font-size: 0.9rem; }
}

/* Dynamic Ping Panel */
.ping-panel { background: rgba(0,0,0,0.6); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 25px; width: 100%; max-width: 400px; font-family: 'Courier New', Courier, monospace; color: #10b981; font-size: 0.9rem; margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,0.3); text-align: left;}
.ping-header { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 15px; color: #f8fafc; font-weight: bold; font-family: 'Poppins', sans-serif;}
.ping-dots { display: flex; gap: 6px; margin-right: auto;}
.ping-dot { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; }
.ping-dot.yellow { background: #eab308; }
.ping-dot.green { background: #22c55e; }
.ping-line { margin: 8px 0; opacity: 0.8; display: flex; justify-content: space-between; }
.ping-ms { font-weight: bold; }
