/* ==========================================================================
   P.wheel — 2026-11-04 产品导向改版新增区块样式
   --------------------------------------------------------------------------
   ⚠️ 所有类名统一加 pw- 前缀 —— apple-theme.css (120KB) 已占用
      .hero(18) / .scenario(8) / .cta(7) / .footer(26) / .btn(14) / .active(5)
      裸类名会串样式 (2026-10-31 use-cases.html 踩过: .hero::after 白蒙版盖住标题)
   ⚠️ 颜色全部用 apple-theme.css 的 CSS 变量, 线上是**浅色主题**
      (--bg-page #f5f5f7 / --text-primary #1d1d1f), 本地看暗黑是本地变量未加载
   ========================================================================== */

/* ---------- 通用容器 ---------- */
.pw-why-inner,
.pw-scenarios-inner,
.pw-specs-inner {
    max-width: var(--content-max-width, 1180px);
    margin: 0 auto;
    padding: var(--section-padding-y, 120px) 40px;
}

.pw-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color, #0071e3);
    margin: 0 0 14px;
}

.pw-h2 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary, #1d1d1f);
    margin: 0 0 18px;
}

.pw-lead {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.65;
    color: var(--text-secondary, #6e6e73);
    max-width: 720px;
    margin: 0 0 56px;
}

/* ---------- Why P.wheel — 三张牌 ---------- */
.pw-why {
    background: var(--bg-surface-alt, #fafafa);
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    border-bottom: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
}

.pw-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.pw-why-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    border-radius: var(--radius-lg, 18px);
    padding: 34px 30px 30px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.04));
    transition: transform .22s ease, box-shadow .22s ease;
}

.pw-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 12px 40px rgba(0, 0, 0, 0.08));
}

.pw-why-num {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-color, #0071e3);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.pw-why-card h3 {
    font-size: 1.32rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary, #1d1d1f);
    margin: 0 0 12px;
}

.pw-why-card p {
    font-size: 0.98rem;
    line-height: 1.68;
    color: var(--text-secondary, #6e6e73);
    margin: 0 0 20px;
}

.pw-why-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color, #0071e3);
    background: var(--accent-subtle, rgba(0, 113, 227, 0.08));
    border-radius: var(--radius-pill, 980px);
    padding: 7px 15px;
}

/* ---------- 应用场景 ---------- */
.pw-scenarios {
    background: var(--bg-page, #f5f5f7);
}

.pw-sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.pw-sc-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    border-radius: var(--radius-lg, 18px);
    padding: 32px 28px;
}

.pw-sc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--accent-subtle, rgba(0, 113, 227, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.pw-sc-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--accent-color, #0071e3);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pw-sc-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary, #1d1d1f);
    margin: 0 0 10px;
}

.pw-sc-card p {
    font-size: 0.97rem;
    line-height: 1.68;
    color: var(--text-secondary, #6e6e73);
    margin: 0;
}

.pw-sc-cta {
    margin-top: 40px;
    text-align: center;
}

/* ---------- 幽灵按钮 (不与 apple-theme .btn 冲突) ---------- */
.pw-btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--radius-pill, 980px);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pw-btn-ghost {
    background: transparent;
    color: var(--accent-color, #0071e3);
    border: 1.5px solid var(--accent-color, #0071e3);
}

.pw-btn-ghost:hover {
    background: var(--accent-color, #0071e3);
    color: var(--text-on-accent, #ffffff);
}

/* ---------- 规格表 (#specs 锚点) ---------- */
.pw-specs {
    background: var(--bg-surface, #ffffff);
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    scroll-margin-top: calc(var(--header-height, 52px) + 20px);
}

.pw-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 0 60px;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
}

.pw-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 19px 0;
    border-bottom: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
}

.pw-spec-k {
    font-size: 0.95rem;
    color: var(--text-secondary, #6e6e73);
    white-space: nowrap;
}

.pw-spec-v {
    font-size: 0.98rem;
    font-weight: 650;
    color: var(--text-primary, #1d1d1f);
    text-align: right;
}

.pw-spec-price {
    color: var(--accent-color, #0071e3);
    font-size: 1.08rem;
    font-weight: 800;
}

.pw-specs-note {
    margin: 28px 0 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-tertiary, #86868b);
}

/* ---------- 产品卡价格 + CTA 行 (a4-kit) ---------- */
.pw-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.pw-price-num {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary, #1d1d1f);
}

.pw-price-unit {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary, #6e6e73);
}

.pw-price-note {
    flex-basis: 100%;
    font-size: 0.88rem;
    color: var(--text-tertiary, #86868b);
}

.pw-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ---------- 深入技术 折叠区 (弱化技术) ---------- */
.pw-tech-details {
    background: var(--bg-page, #f5f5f7);
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
}

.pw-tech-summary {
    max-width: var(--content-max-width, 1180px);
    margin: 0 auto;
    padding: 34px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary, #6e6e73);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color .2s ease;
}

.pw-tech-summary::-webkit-details-marker { display: none; }

.pw-tech-summary::before {
    content: "+";
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    color: var(--accent-color, #0071e3);
    transition: transform .2s ease;
}

.pw-tech-details[open] .pw-tech-summary::before {
    transform: rotate(45deg);
}

.pw-tech-summary:hover {
    color: var(--text-primary, #1d1d1f);
}

.pw-tech-inner {
    max-width: var(--content-max-width, 1180px);
    margin: 0 auto;
    padding: 0 40px 60px;
}

.pw-tech-inner > .feature-detail-section,
.pw-tech-inner > .tech-section {
    margin-bottom: 28px;
}

/* 折叠区内部的 section 强制显示 (原来带 hidden-section 的要能展开) */
.pw-tech-inner .hidden-section {
    display: block !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .pw-why-inner,
    .pw-scenarios-inner,
    .pw-specs-inner {
        padding: 72px 22px;
    }

    .pw-tech-summary {
        padding: 26px 22px;
        font-size: 0.98rem;
    }

    .pw-tech-inner {
        padding: 0 22px 40px;
    }

    .pw-lead {
        margin-bottom: 36px;
    }

    .pw-specs-grid {
        grid-template-columns: 1fr;
    }

    .pw-spec-row {
        flex-direction: column;
        gap: 5px;
    }

    .pw-spec-v {
        text-align: left;
    }

    .pw-price-num {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .pw-why-card,
    .pw-sc-card {
        padding: 26px 22px;
    }

    .pw-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pw-cta-row .btn,
    .pw-cta-row .pw-btn {
        text-align: center;
    }
}

/* ---------- 技术页联系顾问引导 (2026-11-04) ---------- */
.pw-consult {
    background: var(--bg-surface-alt, #fafafa);
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    border-bottom: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    text-align: center;
}

.pw-consult-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--section-padding-y, 120px) 40px;
}

.pw-consult .pw-lead {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .pw-consult-inner {
        padding: 72px 22px;
    }
}

/* ---------- 邮件订阅 主 CTA (2026-11-04) ---------- */
.pw-subscribe {
    background: var(--bg-page, #f5f5f7);
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.07));
    text-align: center;
}

.pw-subscribe-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--section-padding-y, 120px) 40px;
}

.pw-subscribe .pw-lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 34px;
}

.pw-sub-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 18px;
}

.pw-sub-input {
    flex: 1;
    min-width: 0;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: var(--font-family, inherit);
    color: var(--text-primary, #1d1d1f);
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-medium, rgba(0, 0, 0, 0.12));
    border-radius: var(--radius-pill, 980px);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pw-sub-input:focus {
    border-color: var(--accent-color, #0071e3);
    box-shadow: 0 0 0 4px var(--accent-subtle, rgba(0, 113, 227, 0.08));
}

.pw-sub-btn {
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family, inherit);
    color: var(--text-on-accent, #ffffff);
    background: var(--accent-color, #0071e3);
    border: none;
    border-radius: var(--radius-pill, 980px);
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, transform .15s ease;
}

.pw-sub-btn:hover {
    background: var(--accent-hover, #0077ed);
}

.pw-sub-btn:active {
    transform: scale(0.97);
}

.pw-sub-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.pw-sub-note {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-tertiary, #86868b);
}

.pw-sub-note a {
    color: var(--accent-color, #0071e3);
    text-decoration: none;
}

.pw-sub-note a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .pw-subscribe-inner {
        padding: 72px 22px;
    }

    .pw-sub-form {
        flex-direction: column;
    }

    .pw-sub-btn {
        width: 100%;
    }
}

/* ---------- footer 订阅表单 (2026-11-04 从暗色内联改为浅色 class) ---------- */
.footer-sub-input {
    flex: 1;
    min-width: 0;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-family: var(--font-family, inherit);
    color: var(--text-primary, #1d1d1f);
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-medium, rgba(0, 0, 0, 0.12));
    border-radius: var(--radius-pill, 980px);
    outline: none;
}

.footer-sub-input:focus {
    border-color: var(--accent-color, #0071e3);
}

.footer-sub-btn {
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-family, inherit);
    color: var(--text-on-accent, #ffffff);
    background: var(--accent-color, #0071e3);
    border: none;
    border-radius: var(--radius-pill, 980px);
    cursor: pointer;
    transition: background .2s ease;
}

.footer-sub-btn:hover {
    background: var(--accent-hover, #0077ed);
}

.footer-sub-btn.is-done {
    background: #34a853;
}

/* ==========================================================================
   .seo-block — 2026-11-17 英文版内容加厚 + 中文版预渲染共用
   颜色全部用 apple-theme.css 的 CSS 变量 (线上是浅色主题)。
   ========================================================================== */
.seo-block {
    max-width: 1200px;
    margin: 48px auto 8px;
    padding: 32px max(24px, 5%) 8px;
    border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
    color: var(--text2, #636366);
}
.seo-block h2 {
    font-size: 1.45rem; font-weight: 700; color: var(--text, #1d1d1f);
    margin: 2.2rem 0 0.9rem; line-height: 1.3; letter-spacing: -0.01em;
}
.seo-block h2:first-child { margin-top: 0; }
.seo-block h3 {
    font-size: 1.12rem; font-weight: 650; color: var(--text, #1d1d1f);
    margin: 1.6rem 0 0.55rem;
}
.seo-block p {
    font-size: 1rem; line-height: 1.72; margin: 0 0 1.05rem; max-width: 74ch;
}
.seo-block ul { margin: 0 0 1.2rem; padding-left: 1.25rem; line-height: 1.68; }
.seo-block li { margin-bottom: 0.55rem; }
.seo-block li strong, .seo-block strong { color: var(--text, #1d1d1f); }
.seo-block a { color: var(--accent, #0071e3); }

@media (max-width: 768px) {
    .seo-block { margin-top: 32px; padding: 22px 20px 4px; }
    .seo-block h2 { font-size: 1.25rem; margin-top: 1.7rem; }
    .seo-block p { font-size: 0.95rem; line-height: 1.68; }
}

/* ==========================================================================
   .dealer-form — 经销商询盘表单（2026-11-20 新增）
   --------------------------------------------------------------------------
   为什么加: dealer 页原本只有 WhatsApp / 邮箱链接 → B2B 线索一个都统计不到
   → 投放时无法归因到 dealer 页, oCPM 学不出模型。
   样式与首页联系表单保持一致的克制风格。
   ========================================================================== */
.dealer-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 520px;
    margin: 18px 0 22px;
    text-align: left;
}
.dealer-form label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text, #1d1d1f);
    margin-top: 8px;
}
.dealer-form input,
.dealer-form select,
.dealer-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text, #1d1d1f);
    background: #fff;
    border: 1px solid var(--border, rgba(0, 0, 0, 0.16));
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dealer-form input:focus,
.dealer-form select:focus,
.dealer-form textarea:focus {
    outline: none;
    border-color: var(--accent, #0071e3);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.dealer-form textarea { resize: vertical; min-height: 92px; }
.dealer-form button {
    margin-top: 14px;
    align-self: flex-start;
    cursor: pointer;
    border: none;
}
.dealer-form button:disabled { opacity: .55; cursor: not-allowed; }
.dealer-form-msg {
    margin: 8px 0 0;
    font-size: 0.88rem;
    min-height: 1.2em;
}
.dealer-form-msg.ok { color: #1d7a3e; }
.dealer-form-msg.error { color: #c0392b; }

@media (max-width: 768px) {
    .dealer-form { max-width: 100%; }
}
