/* ============================================================
   QuickQ 官网全局模板样式（所有页面共享，保证模板同步）
   品牌主色：红橙 #E85D3A · 强调色：#F7A072 · 底色：#F9F6F2
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: #F9F6F2; color: #1e1e1e; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { vertical-align: middle; }
code { background: #f5f2ed; padding: 2px 8px; border-radius: 6px; font-size: 14px; }
.tq-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== 按钮（胶囊） ========== */
.tq-pill { display: inline-block; padding: 10px 28px; border-radius: 40px; font-weight: 600; font-size: 15px; transition: 0.2s; cursor: pointer; text-align: center; }
.tq-pill-s { padding: 6px 18px; font-size: 13px; }
.tq-pill-m { padding: 12px 36px; font-size: 16px; }
.tq-pill-fill { background: #E85D3A; color: #fff; border: 1px solid #E85D3A; }
.tq-pill-fill:hover { background: #d44d2a; border-color: #d44d2a; }
.tq-pill-line { background: transparent; color: #E85D3A; border: 1px solid #E85D3A; }
.tq-pill-line:hover { background: #E85D3A; color: #fff; }
.tq-pill-pale { background: #F7A072; color: #1e1e1e; border: 1px solid #F7A072; }
.tq-pill-pale:hover { background: #f08b5a; }

/* ========== 头部导航 ========== */
.tq-header { background: #1e1e1e; color: #eee; padding: 14px 0; border-bottom: 3px solid #E85D3A; position: sticky; top: 0; z-index: 100; }
.tq-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.tq-brand { font-size: 26px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #fff; }
.tq-brand b { color: #E85D3A; }
.tq-mark { width: 32px; height: 32px; border-radius: 6px; }
.tq-nav { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.tq-nav a { color: #ccc; transition: 0.2s; }
.tq-nav a:hover, .tq-nav a[aria-current="page"] { color: #E85D3A; }
.tq-head-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .tq-nav { display: none; } }

/* ========== 实时状态条 ========== */
.tq-live-bar { max-width: 800px; margin: 28px auto; padding: 16px 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.tq-live-bar > div { text-align: center; }
.tq-live-bar .label { font-size: 12px; color: #888; }
.tq-live-bar .value { font-weight: 700; font-size: 18px; }
.tq-live-bar .value.clock { font-family: monospace; font-size: 24px; color: #E85D3A; }
.tq-live-bar .update-log { width: 100%; padding-top: 12px; border-top: 1px solid #eee; font-size: 14px; color: #555; text-align: left; }
.tq-live-bar .update-log strong { color: #1e1e1e; }

/* ========== Hero ========== */
.tq-hero { background: #1e1e1e; color: #f0f0f0; padding: 40px 0 60px; text-align: center; }
.tq-hero h1 { font-size: 42px; line-height: 1.25; }
.tq-hero h1 b { color: #E85D3A; }
.tq-hero > .tq-shell > p { color: #bbb; max-width: 640px; margin: 12px auto 0; font-size: 17px; }
.tq-hero-home { text-align: left; padding: 60px 0 80px; }
.tq-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .tq-hero-in { grid-template-columns: 1fr; } }
.tq-pill-tag { display: inline-block; background: rgba(232,93,58,0.2); color: #F7A072; padding: 4px 16px; border-radius: 30px; font-size: 13px; margin-bottom: 16px; }
.tq-hero-lead { font-size: 18px; color: #bbb; max-width: 520px; margin: 0 0 28px; }
.tq-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.tq-hero-note { font-size: 14px; color: #888; }
.tq-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tq-chips a { font-size: 13px; color: #F7A072; background: rgba(232,93,58,0.15); padding: 4px 14px; border-radius: 30px; transition: 0.2s; }
.tq-chips a:hover { background: rgba(232,93,58,0.4); color: #fff; }

/* 终端面板 */
.tq-term { background: #0d0d0d; border-radius: 12px; border: 1px solid #333; overflow: hidden; font-family: 'Courier New', monospace; text-align: left; }
.tq-term-dots { background: #1a1a1a; padding: 10px 16px; display: flex; gap: 8px; border-bottom: 1px solid #2a2a2a; }
.tq-term-dots i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #555; }
.tq-term-dots i:nth-child(1) { background: #ff5f56; }
.tq-term-dots i:nth-child(2) { background: #ffbd2e; }
.tq-term-dots i:nth-child(3) { background: #27c93f; }
.tq-console { padding: 20px 24px; font-size: 14px; color: #aaa; line-height: 1.8; }
.tq-console .c1 { color: #4caf50; }
.tq-console .c2 { color: #64b5f6; }
.tq-console .c3 { color: #ffb74d; }
.tq-console .tq-ok { color: #81c784; font-weight: 600; }

/* ========== 数据条 ========== */
.tq-metrics { background: #fff; padding: 40px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.tq-metrics-in { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.tq-metric strong { display: block; font-size: 36px; color: #E85D3A; }
.tq-metric span { font-size: 16px; color: #555; }

/* ========== 通用区块 ========== */
.tq-sec { padding: 60px 0; }
.tq-sec-alt { background: #f3f0eb; }
.tq-sec-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.tq-lab { display: inline-block; background: #e8e0d8; color: #6b5b4e; padding: 2px 16px; border-radius: 30px; font-size: 13px; letter-spacing: 0.5px; margin-bottom: 10px; }
.tq-sec-head h2 { font-size: 32px; margin-bottom: 10px; }
.tq-sec-head p { color: #555; }
.tq-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 640px) { .tq-grid2 { grid-template-columns: 1fr; } }
.tq-box { background: #fff; padding: 24px 28px; border-radius: 16px; border: 1px solid #f0ede8; display: flex; gap: 16px; align-items: flex-start; }
.tq-box.flat { box-shadow: none; background: #faf8f5; }
.tq-box h3 { font-size: 18px; margin-bottom: 6px; }
.tq-emoji { font-size: 28px; flex-shrink: 0; margin-top: 4px; }

/* ========== 数据表格 ========== */
.tq-table { overflow-x: auto; background: #fff; border-radius: 16px; padding: 20px; border: 1px solid #e5e0d8; }
.tq-table table { width: 100%; border-collapse: collapse; }
.tq-table th, .tq-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee; }
.tq-table th { background: #f5f2ed; font-weight: 600; }
.tq-table tr:last-child td { border-bottom: none; }
.tq-check { color: #2e7d32; font-weight: 700; }
.tq-cross { color: #c62828; font-weight: 700; }

/* ========== 限时促销 ========== */
.tq-offer { background: linear-gradient(135deg, #E85D3A, #c94d2c); color: #fff; padding: 60px 0; text-align: center; }
.tq-offer-in h2 { font-size: 38px; margin: 8px 0; }
.tq-offer-in p { font-size: 18px; opacity: 0.9; }
.tq-sale { display: inline-block; background: rgba(255,255,255,0.2); padding: 4px 20px; border-radius: 40px; font-size: 14px; }
.tq-timer { display: flex; justify-content: center; gap: 24px; margin: 28px 0; }
.tq-timer div { background: rgba(0,0,0,0.2); padding: 12px 20px; border-radius: 10px; min-width: 70px; }
.tq-timer strong { font-size: 32px; display: block; }

/* ========== 支付方式 ========== */
.tq-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tq-method { background: #fff; border: 1px solid #ddd; padding: 8px 22px; border-radius: 40px; font-size: 15px; }

/* ========== 平台下载卡 ========== */
.tq-platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.tq-platform-card { background: #fff; padding: 24px 16px; border-radius: 16px; border: 1px solid #eee; text-align: center; }
.tq-platform-card .ver { font-size: 13px; color: #888; }
.tq-platform-card .tq-btn-dl { margin-top: 12px; }

/* ========== 套餐卡 ========== */
.tq-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 720px) { .tq-plans { grid-template-columns: 1fr; } }
.tq-plan-card { background: #fff; padding: 30px 24px; border-radius: 20px; border: 1px solid #eee; text-align: center; transition: 0.2s; }
.tq-plan-card.featured { border: 3px solid #E85D3A; background: #fef9f7; transform: scale(1.02); }
.tq-plan-card .price { font-size: 36px; font-weight: 800; color: #E85D3A; }
.tq-plan-card .price small { font-size: 16px; color: #888; }
.tq-plan-card .btn { margin-top: 20px; }

/* ========== FAQ ========== */
details { margin-top: 12px; background: #faf8f5; padding: 12px 20px; border-radius: 10px; border: 1px solid #e5e0d8; }
details summary { font-weight: 600; cursor: pointer; padding: 4px 0; color: #1e1e1e; }
details p { padding: 10px 0 4px; color: #444; }
.tq-faq-grid { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.tq-faq-item { background: #fff; padding: 16px 24px; border-radius: 12px; border: 1px solid #eee; }
.tq-faq-item strong { display: block; font-size: 17px; margin-bottom: 6px; color: #1e1e1e; }
.tq-faq-item p { color: #555; margin: 0; }
.tq-faq-item .cat { font-size: 12px; color: #E85D3A; background: #f5ede8; padding: 2px 12px; border-radius: 30px; display: inline-block; margin-bottom: 8px; }

/* ========== 教程 ========== */
.tq-toc { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid #eee; max-width: 600px; margin: 0 auto; }
.tq-toc ul { list-style: none; }
.tq-toc li { padding: 8px 0; border-bottom: 1px solid #f0ede8; }
.tq-toc li:last-child { border-bottom: none; }
.tq-toc a { color: #1e1e1e; font-weight: 500; }
.tq-toc a:hover { color: #E85D3A; }
.step-num { display: inline-block; background: #E85D3A; color: #fff; width: 32px; height: 32px; border-radius: 50%; text-align: center; line-height: 32px; font-weight: 700; margin-right: 12px; flex-shrink: 0; }
.tq-step-row { display: flex; align-items: flex-start; margin: 14px 0; }

/* ========== 资讯 ========== */
.tq-post { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid #eee; margin-bottom: 20px; }
.tq-post h3 { font-size: 20px; margin: 8px 0; }
.tq-post h3 a { color: #1e1e1e; }
.tq-post h3 a:hover { color: #E85D3A; }
.tq-post .meta { font-size: 14px; color: #888; margin: 6px 0 10px; }
.tq-post .body-p { color: #444; margin: 10px 0; }
.tq-post .cat-tag { background: #f5ede8; color: #E85D3A; padding: 2px 12px; border-radius: 30px; font-size: 12px; }
.tq-changelog { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid #eee; }
.tq-changelog li { padding: 8px 0; border-bottom: 1px solid #f0ede8; list-style: none; }
.tq-changelog li:last-child { border-bottom: none; }
.tq-changelog .ver { font-weight: 700; color: #E85D3A; }
.tq-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tq-tag { background: #fff; padding: 6px 18px; border-radius: 30px; border: 1px solid #ddd; font-size: 14px; cursor: pointer; transition: 0.2s; }
.tq-tag:hover { border-color: #E85D3A; color: #E85D3A; }
.tq-tag.active { background: #E85D3A; color: #fff; border-color: #E85D3A; }

/* ========== 相关页面（内链区） ========== */
.tq-related { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== 底部行动区 ========== */
.tq-bottom { background: #1e1e1e; color: #fff; padding: 50px 0; text-align: center; }
.tq-bottom h2 { font-size: 34px; }
.tq-bottom p { color: #aaa; margin: 12px 0 0; }

/* ========== 页脚 ========== */
.tq-footer { background: #111; color: #999; padding: 40px 0 20px; border-top: 3px solid #E85D3A; }
.tq-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid #2a2a2a; }
@media (max-width: 720px) { .tq-footer-top { grid-template-columns: 1fr; } }
.tq-footer .tq-brand { color: #fff; margin-bottom: 10px; }
.tq-foot-col h4 { color: #eee; margin-bottom: 12px; }
.tq-foot-col ul { list-style: none; }
.tq-foot-col li { margin-bottom: 6px; }
.tq-foot-col a { color: #aaa; transition: 0.2s; }
.tq-foot-col a:hover { color: #E85D3A; }
.tq-foot-copy { display: flex; justify-content: space-between; flex-wrap: wrap; padding-top: 20px; font-size: 14px; }
