/* ============================================================
   talkq.cn · 内页视觉统一到首页 design language
   加载顺序：talkq-pages.css / talkq-pricing.css / talkq-help.css 之后
   原则：只覆盖视觉，不改 DOM、不改正文、不改交互
   对应首页 talkq-home-sections.css 的 hs-* 视觉语言：
   白卡 + 20px 圆角 + 胶囊按钮 + 柔和阴影 + 深蓝 CTA
   ============================================================ */

:root {
    --tq-paper: #F5F7FA;
    --tq-panel: #FFFFFF;
    --tq-ink: #0F172A;
    --tq-soft: #5B6473;
    --tq-mute: #5B6473;
    --tq-line: #E8ECF3;
    --tq-line-strong: #D6DEEA;
    --tq-accent: #1D4ED8;
    --tq-accent-deep: #173FB0;
    --tq-accent-soft: #EDF3FF;
    --tq-radius: 12px;
    --tq-radius-lg: 20px;
    --tq-shadow-soft: 0 18px 44px -24px rgba(15, 30, 62, 0.28);
    --tq-shadow-dock: 0 34px 70px -30px rgba(15, 30, 62, 0.34);
}

/* eyebrow 全部隐藏：首页已去除，避免模板感 */
.tq-eyebrow {
    display: none !important;
}

/* ---------- 区块骨架 ---------- */
.tq-band {
    padding-block: clamp(56px, 7vw, 92px);
    background: var(--tq-panel);
    border-top: 1px solid var(--tq-line);
}

.tq-band-ice {
    background: var(--tq-paper);
}

.tq-band-head {
    max-width: 720px;
    margin: 0 auto clamp(32px, 4vw, 52px);
    text-align: center;
}

.tq-section-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.3vw, 40px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.24;
    color: var(--tq-ink);
}

.tq-section-lead {
    margin: 0;
    max-width: none;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.72;
    color: var(--tq-soft);
}

/* ---------- 首屏 ---------- */
.tq-hero {
    padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
    background: radial-gradient(ellipse 60% 50% at 92% 0%, rgba(29, 78, 216, 0.08), transparent 60%), #FFFFFF;
    border-bottom: 1px solid var(--tq-line);
    color: var(--tq-ink);
}

.tq-hero::before {
    display: none;
}

.tq-hero h1 {
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.14;
    margin: 0 0 18px;
}

.tq-hero h1 span {
    color: var(--tq-accent);
}

.tq-hero-desc {
    margin: 0 0 26px;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.75;
    color: var(--tq-soft);
}

.tq-hero-visual {
    border-radius: var(--tq-radius-lg);
    border: 1px solid var(--tq-line);
    box-shadow: var(--tq-shadow-dock);
}

/* ---------- 按钮：胶囊化，与首页 hs-btn 一致 ---------- */
.tq-btn {
    border-radius: 999px;
    min-height: 46px;
    padding: 0 22px;
    font-size: 14.5px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tq-btn:hover {
    transform: translateY(-1px);
}

.tq-btn-primary {
    background: var(--tq-accent);
    color: #fff;
}

.tq-btn-primary:hover {
    background: var(--tq-accent-deep);
    color: #fff;
}

.tq-btn-secondary {
    background: #fff;
    color: var(--tq-accent);
    border-color: #C9D7EE;
}

.tq-btn-secondary:hover {
    background: #F5F8FE;
    color: var(--tq-accent-deep);
    border-color: var(--tq-accent);
}

.tq-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.36);
}

/* ---------- 细线分栏 → 实体白卡 ---------- */
.tq-split-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    border-top: none;
}

.tq-split-item,
.tq-split-item:nth-child(2n) {
    background: var(--tq-panel);
    border: 1px solid var(--tq-line);
    border-radius: var(--tq-radius-lg);
    padding: 28px 30px;
    border-right: 1px solid var(--tq-line);
    box-shadow: var(--tq-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tq-split-item:hover {
    transform: translateY(-3px);
    border-color: #D6DEEA;
    box-shadow: var(--tq-shadow-dock);
}

.tq-split-item h3 {
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.tq-split-item p {
    color: var(--tq-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

.tq-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--tq-accent);
    background: var(--tq-accent-soft);
    border-radius: 999px;
    padding: 5px 11px;
}

/* ---------- 步骤卡 ---------- */
.tq-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    border-top: none;
}

.tq-step {
    border: 1px solid var(--tq-line) !important;
    border-radius: var(--tq-radius-lg);
    padding: 28px 30px !important;
    background: var(--tq-panel);
    box-shadow: var(--tq-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tq-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--tq-shadow-dock);
}

.tq-step-num {
    font-size: 12px;
    letter-spacing: 0.12em;
}

.tq-step h3 {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.tq-step p {
    font-size: 14.5px;
    line-height: 1.7;
}

/* ---------- 数据条 ---------- */
.tq-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    border-top: none;
    border-bottom: none;
}

.tq-stat {
    position: relative;
    border-right: none !important;
    padding: 0 !important;
    text-align: center;
}

.tq-stat + .tq-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: var(--tq-line);
}

.tq-stat-num {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 8px;
}

.tq-stat-label {
    font-size: 13px;
    color: var(--tq-hint, #8A93A3);
}

/* ---------- 图片卡 ---------- */
.tq-demo-grid,
.tq-ai-grid {
    gap: 22px;
}

.tq-demo-grid img,
.tq-ai-grid img {
    width: 100%;
    border-radius: var(--tq-radius-lg);
    border: 1px solid var(--tq-line);
    box-shadow: var(--tq-shadow-soft);
}

.tq-demo-grid h3,
.tq-ai-grid h3 {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.tq-demo-grid p,
.tq-ai-grid p {
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- 对比卡 / 适合谁 / 交叉推荐 ---------- */
.tq-compare-grid {
    gap: 22px;
}

.tq-compare-card,
.tq-fit-box,
.tq-cross,
.tq-prose-card,
.tq-mission-grid > div,
.tq-pain-item {
    background: var(--tq-panel);
    border: 1px solid var(--tq-line);
    border-radius: var(--tq-radius-lg);
    box-shadow: var(--tq-shadow-soft);
}

.tq-compare-card h3,
.tq-fit-box h2 {
    font-weight: 650;
    letter-spacing: -0.03em;
}

.tq-compare-card h3 {
    font-size: 20px;
}

.tq-compare-card > p,
.tq-fit-box p,
.tq-cross p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--tq-soft);
}

/* ---------- FAQ ---------- */
/* FAQ 统一视觉：白卡 + 圆形 +/- 图标（全站一致） */
.tq-faq {
    max-width: 840px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tq-faq-item {
    background: var(--tq-panel);
    border: 1px solid var(--tq-line);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.tq-faq-item:hover {
    border-color: rgba(29, 78, 216, 0.28);
}

.tq-faq-q {
    padding: 20px 22px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.tq-faq-q::after {
    content: "+";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tq-accent-soft);
    color: var(--tq-accent);
    font-family: var(--tq-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.tq-faq-item.open .tq-faq-q::after {
    content: "−";
    background: var(--tq-accent);
    color: #fff;
}

.tq-faq-a {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--tq-soft);
    padding: 0 22px 22px;
}

/* ---------- 正文页 ---------- */
.tq-prose h2 {
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.tq-prose p,
.tq-prose li {
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- 结尾 CTA：深蓝渐变卡，对齐首页 hs-cta ---------- */
.tq-close {
    padding: clamp(40px, 5vw, 72px) 0;
    background: transparent;
    border-top: none;
}

.tq-close > .tq-container {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: clamp(32px, 4vw, 56px);
    text-align: center;
    color: #fff;
    background: radial-gradient(120% 150% at 50% 118%, #3D7CF0 0%, #1B4FA8 42%, #0A2C6E 78%), #0A2C6E;
}

.tq-close h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.28;
}

.tq-close p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15.5px;
    line-height: 1.7;
}

.tq-close .tq-btn-primary {
    background: #fff;
    color: #123A8A;
}

.tq-close .tq-btn-primary:hover {
    background: #EDF3FF;
    color: #0A2C6E;
}

.tq-close .tq-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}

.tq-close .tq-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* ============================================================
   电商工作台页：Hero 大图 + 适合谁双栏 + CTA 配图
   ============================================================ */
.tq-hero-visual img {
    border-radius: 20px;
    display: block;
    width: 100%;
    height: auto;
}
/* Hero 图自带浮层，去掉外框让画面更整 */
body:has(.tq-hero-visual img[src*="merchant-hero"]) .tq-hero-visual {
    border: none;
    box-shadow: 0 30px 60px -28px rgba(12, 40, 100, 0.35);
    background: transparent;
}

/* 适合谁：改为适合/不适合双栏白卡 */
.tq-fit-box {
    padding: clamp(26px, 3vw, 40px);
}
.tq-fit-box h2 {
    margin-bottom: 20px;
}
.tq-fit-box p {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
}
.tq-fit-box p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16A34A;
}
.tq-fit-box p:last-child::before {
    background: #94A3B8;
}

/* 工作台 CTA：左文案 + 右办公室人物配图 */
.tq-close--merchant > .tq-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
    text-align: left;
}
.tq-close--merchant .tq-close-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 60% 40%;
    border-radius: 16px;
    box-shadow: 0 26px 56px -24px rgba(2, 12, 34, 0.6);
}
.tq-close--merchant .tq-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.tq-close--merchant h2 { margin-top: 0; }
.tq-close--merchant p { margin-bottom: 0; }

@media (max-width: 860px) {
    .tq-close--merchant > .tq-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tq-close--merchant .tq-close-actions { justify-content: center; }
    .tq-close--merchant .tq-close-photo { max-width: 560px; margin: 0 auto; }
}

/* 功能页 CTA：左文案 + 右人物配图，对齐首页 hs-cta */
.tq-close--photo > .tq-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
    text-align: left;
}
.tq-close--photo .tq-close-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 42%;
    border-radius: 16px;
    box-shadow: 0 26px 56px -24px rgba(2, 12, 34, 0.6);
}
.tq-close--photo .tq-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.tq-close--photo h2 { margin-top: 0; }
.tq-close--photo p { margin-bottom: 0; }

@media (max-width: 860px) {
    .tq-close--photo > .tq-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tq-close--photo .tq-close-actions { justify-content: center; }
    .tq-close--photo .tq-close-photo { max-width: 560px; margin: 0 auto; }
}

/* ============================================================
   价格页：独立类名体系（body.page-pricing）
   ============================================================ */
.page-pricing .hero {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
    background: radial-gradient(ellipse 60% 50% at 92% 0%, rgba(29, 78, 216, 0.08), transparent 60%), #FFFFFF;
    border-bottom: 1px solid var(--tq-line);
}

.page-pricing .hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: var(--tq-ink);
}

.page-pricing .hero p {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
    color: var(--tq-soft);
}

.page-pricing .price-card {
    border: 1px solid var(--tq-line);
    border-radius: var(--tq-radius-lg);
    box-shadow: var(--tq-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-pricing .price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tq-shadow-dock);
}

.page-pricing .price-card.featured,
.page-pricing .price-card.merchant-featured {
    border-color: #BBD0F2;
    box-shadow: var(--tq-shadow-dock);
}

.page-pricing .card-buy-button {
    border-radius: 999px;
    min-height: 46px;
    background: var(--tq-accent);
    color: #fff;
    font-weight: 600;
}

.page-pricing .card-buy-button:hover {
    background: var(--tq-accent-deep);
}

.page-pricing .product-switch-btn,
.page-pricing .plan-type-btn,
.page-pricing .billing-toggle button {
    border-radius: 999px;
    font-weight: 600;
}

.page-pricing .product-switch-btn.active,
.page-pricing .plan-type-btn.active {
    background: var(--tq-accent);
    color: #fff;
    border-color: var(--tq-accent);
}

.page-pricing .pricing-table {
    border: 1px solid var(--tq-line);
    border-radius: var(--tq-radius-lg);
    overflow: hidden;
    box-shadow: var(--tq-shadow-soft);
}

.page-pricing .section-title h2 {
    font-size: clamp(26px, 3.3vw, 40px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.24;
    color: var(--tq-ink);
}

/* FAQ 统一视觉：白卡 + 圆形 +/- 图标（全站一致） */
.page-pricing .faq {
    padding-bottom: 80px;
}
.page-pricing .faq .faq-item {
    background: var(--tq-panel);
    border: 1px solid var(--tq-line);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.page-pricing .faq .faq-item:hover {
    border-color: rgba(29, 78, 216, 0.28);
}
.page-pricing .faq-question {
    font-size: 16px;
    font-weight: 600;
    padding: 20px 22px;
    border-bottom: none !important;
}
.page-pricing .faq-icon {
    display: none;
}
.page-pricing .faq-question::after {
    content: "+";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tq-accent-soft);
    color: var(--tq-accent);
    font-family: var(--tq-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-pricing .faq-question.active::after {
    content: "−";
    background: var(--tq-accent);
    color: #fff;
}
.page-pricing .faq-answer {
    padding: 0 22px 22px;
    font-size: 14.5px;
    line-height: 1.75;
}

/* ============================================================
   帮助中心：独立类名体系（body.page-help）
   ============================================================ */
.page-help .help-hero {
    padding: clamp(56px, 7vw, 92px) 0;
    background: radial-gradient(ellipse 60% 50% at 92% 0%, rgba(29, 78, 216, 0.08), transparent 60%), #FFFFFF;
    border-bottom: 1px solid var(--tq-line);
}

.page-help .help-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 650;
    letter-spacing: -0.04em;
}

.page-help .help-product-cards {
    gap: 20px;
}

.page-help .help-product-card {
    border: 1px solid var(--tq-line);
    border-radius: var(--tq-radius-lg);
    box-shadow: var(--tq-shadow-soft);
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-help .help-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tq-shadow-dock);
}

.page-help .help-product-card h3 {
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.page-help .help-product-card p {
    font-size: 14.5px;
    line-height: 1.7;
}

.page-help .card-cta {
    color: var(--tq-accent);
    font-weight: 600;
}

.page-help .help-compare-table {
    border-radius: var(--tq-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tq-line);
    box-shadow: var(--tq-shadow-soft);
}

.page-help .sidebar {
    border: 1px solid var(--tq-line);
    border-radius: var(--tq-radius-lg);
    background: var(--tq-panel);
    box-shadow: var(--tq-shadow-soft);
}

.page-help .section h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 650;
    letter-spacing: -0.03em;
}

/* FAQ 统一视觉：白卡 + 圆形 +/- 图标（active 加在 answer 上，用 :has 提升状态） */
.page-help .faq-item {
    background: var(--tq-panel);
    border: 1px solid var(--tq-line) !important;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.page-help .faq-item:hover {
    border-color: rgba(29, 78, 216, 0.28) !important;
}
.page-help .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 22px;
    cursor: pointer !important;
    background: transparent !important;
}
.page-help .faq-question::after {
    content: "+";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tq-accent-soft);
    color: var(--tq-accent);
    font-family: var(--tq-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-help .faq-item:has(.faq-answer.active) .faq-question::after {
    content: "−";
    background: var(--tq-accent);
    color: #fff;
}
.page-help .faq-answer {
    padding: 0 22px 22px;
    font-size: 14.5px;
    line-height: 1.75;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .tq-stats,
    .tq-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .tq-stat + .tq-stat::before {
        display: none;
    }
}

@media (max-width: 720px) {
    .tq-split-list,
    .tq-compare-grid,
    .tq-demo-grid,
    .tq-ai-grid,
    .tq-mission-grid,
    .tq-pain-grid {
        grid-template-columns: 1fr;
    }

    .tq-stats,
    .tq-steps {
        grid-template-columns: 1fr;
    }

    .tq-stat {
        padding: 18px 0 !important;
        border-bottom: 1px solid var(--tq-line) !important;
    }

    .tq-stat:last-child {
        border-bottom: none !important;
    }

    .tq-close > .tq-container {
        border-radius: 20px;
    }
}
