/**
 * 中国广告信息网 — 专题静态页统一样式
 * 部署：将 /static/topic/ 目录与 /topics/ 目录一并上传即可
 * 所有专题页仅引用 topic.css + topic.js，修改样式无需改 HTML
 */
:root {
    --tp-primary: #0c1222;
    --tp-accent: #e11d48;
    --tp-accent2: #f97316;
    --tp-accent-glow: rgba(225, 29, 72, 0.35);
    --tp-bg: #f1f5f9;
    --tp-card: #ffffff;
    --tp-text: #1e293b;
    --tp-muted: #64748b;
    --tp-border: #e2e8f0;
    --tp-radius: 16px;
    --tp-radius-sm: 10px;
    --tp-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --tp-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --tp-max: 1140px;
    --tp-header-h: 60px;
    --tp-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.tp-page-wrapper *,
.tp-page-wrapper *::before,
.tp-page-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

.tp-page-wrapper {
    font-family: var(--tp-font);
    color: var(--tp-text);
    background: var(--tp-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.tp-page-wrapper a {
    color: inherit;
    text-decoration: none;
}

.tp-page-wrapper img {
    max-width: 100%;
    display: block;
}

.tp-wrap {
    max-width: var(--tp-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.tp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--tp-header-h);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--tp-border);
}

.tp-header-inner {
    max-width: var(--tp-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tp-logo {
    font-size: 16px;
    font-weight: 900;
    color: var(--tp-primary);
    flex-shrink: 0;
}

.tp-logo span {
    color: var(--tp-accent);
}

.tp-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.tp-nav a {
    padding: 8px 14px;
    font-size: 14px;
    color: var(--tp-muted);
    border-radius: 8px;
    font-weight: 500;
    transition: .2s;
}

.tp-nav a:hover,
.tp-nav a.active {
    color: var(--tp-accent);
    background: #fff1f2;
}

.tp-header-cta {
    padding: 8px 20px;
    background: var(--tp-accent);
    color: #fff !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px var(--tp-accent-glow);
}

.tp-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.tp-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tp-primary);
}

/* ===== Buttons ===== */
.tp-btn {
    display: inline-block;
    padding: 15px 32px;
    background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent2));
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px var(--tp-accent-glow);
    transition: transform .2s, box-shadow .2s;
}

.tp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px var(--tp-accent-glow);
}

.tp-btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.tp-btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

.tp-btn-ghost {
    display: inline-block;
    padding: 14px 28px;
    margin-left: 12px;
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff !important;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: .2s;
}

.tp-btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
}

.tp-link-cta {
    color: var(--tp-accent);
    font-weight: 700;
    font-size: 15px;
}

/* ===== Hero ===== */
.tp-hero {
    position: relative;
    overflow: hidden;
    background: var(--tp-primary);
    color: #fff;
}

.tp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, color-mix(in srgb, var(--tp-accent) 40%, transparent), transparent),
        radial-gradient(ellipse 50% 50% at 10% 80%, color-mix(in srgb, var(--tp-accent2) 20%, transparent), transparent);
}

.tp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: center;
    padding: 56px 20px 64px;
    position: relative;
    z-index: 1;
}

.tp-hero-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: color-mix(in srgb, var(--tp-accent2) 90%, #fff);
    letter-spacing: .5px;
}

.tp-hero h1 {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.tp-hero-desc {
    font-size: clamp(15px, 2vw, 17px);
    color: #94a3b8;
    margin-bottom: 28px;
    max-width: 540px;
    line-height: 1.7;
}

.tp-hero-actions {
    margin-bottom: 20px;
}

.tp-hero-stat {
    font-size: 13px;
    color: #64748b;
}

.tp-hero-stat b {
    color: var(--tp-accent2);
}

.tp-hero-main {
    min-width: 0;
}

.tp-hero-side {
    min-width: 0;
}

.tp-offer-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--tp-radius);
    padding: 28px 24px;
    backdrop-filter: blur(8px);
}

.tp-offer-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--tp-accent2);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tp-offer-card p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #f1f5f9;
}

/* Hero themes per category */
.tp-hero-crystal .tp-hero-bg {
    background-image: radial-gradient(circle at 80% 30%, rgba(244, 63, 94, .35), transparent 50%), radial-gradient(circle at 20% 70%, rgba(251, 191, 36, .15), transparent 40%);
}

.tp-hero-wall .tp-hero-bg {
    background-image: radial-gradient(circle at 60% 40%, rgba(232, 152, 90, .35), transparent 50%);
}

.tp-hero-party .tp-hero-bg {
    background-image: radial-gradient(circle at 50% 50%, rgba(196, 30, 58, .3), transparent 55%), repeating-linear-gradient(-45deg, transparent, transparent 16px, rgba(255, 255, 255, .02) 16px, rgba(255, 255, 255, .02) 18px);
}

.tp-hero-signage .tp-hero-bg {
    background-image: radial-gradient(circle at 30% 60%, rgba(255, 69, 0, .3), transparent 45%), radial-gradient(circle at 80% 20%, rgba(88, 166, 255, .15), transparent 40%);
}

.tp-hero-print .tp-hero-bg {
    background-image: radial-gradient(circle at 40% 30%, rgba(37, 99, 235, .35), transparent 50%);
}

.tp-hero-promo .tp-hero-bg {
    background-image: radial-gradient(circle at 70% 50%, rgba(5, 150, 105, .3), transparent 50%);
}

.tp-hero-design .tp-hero-bg {
    background-image: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, .35), transparent 50%);
}

.tp-hero-phone .tp-hero-bg {
    background-image: radial-gradient(circle at 40% 50%, rgba(13, 148, 136, .35), transparent 50%);
}

.tp-hero-index .tp-hero-bg {
    background-image: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, .25), transparent 60%);
}

.tp-hero-invest .tp-hero-bg {
    background-image: radial-gradient(circle at 30% 40%, rgba(225, 29, 72, .4), transparent 50%), radial-gradient(circle at 80% 70%, rgba(251, 191, 36, .12), transparent 40%);
}

.tp-hero-partner .tp-hero-bg {
    background-image: radial-gradient(circle at 60% 30%, rgba(249, 115, 22, .35), transparent 50%), radial-gradient(circle at 20% 80%, rgba(234, 88, 12, .15), transparent 40%);
}

.tp-hero-vip .tp-hero-bg {
    background-image: radial-gradient(circle at 50% 40%, rgba(20, 184, 166, .35), transparent 50%), radial-gradient(circle at 80% 20%, rgba(6, 182, 212, .15), transparent 40%);
}

/* ===== Stats bar ===== */
.tp-stats-bar {
    background: var(--tp-card);
    border-bottom: 1px solid var(--tp-border);
    box-shadow: var(--tp-shadow);
}

.tp-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 20px 20px;
}

.tp-stat {
    text-align: center;
    padding: 12px 8px;
}

.tp-stat strong {
    display: block;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: var(--tp-accent);
    line-height: 1.2;
}

.tp-stat span {
    font-size: 12px;
    color: var(--tp-muted);
    font-weight: 500;
}

/* ===== Sections ===== */
.tp-section {
    padding: 64px 0;
}

.tp-section.alt {
    background: var(--tp-card);
}

.tp-section.dark {
    background: var(--tp-primary);
    color: #fff;
}

.tp-sec-head {
    text-align: center;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.tp-sec-tag {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 12px;
    background: #fff1f2;
    color: var(--tp-accent);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: .3px;
}

.tp-section.dark .tp-sec-tag {
    background: rgba(255, 255, 255, .1);
    color: var(--tp-accent2);
}

.tp-sec-head h2 {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 900;
    color: var(--tp-primary);
    margin-bottom: 10px;
    line-height: 1.25;
}

.tp-section.dark .tp-sec-head h2 {
    color: #fff;
}

.tp-sec-head h2 em {
    font-style: normal;
    color: var(--tp-accent);
}

.tp-section.dark .tp-sec-head h2 em {
    color: var(--tp-accent2);
}

.tp-sec-head p {
    color: var(--tp-muted);
    font-size: 15px;
}

.tp-section.dark .tp-sec-head p {
    color: #94a3b8;
}

/* ===== Type cards (clickable) ===== */
.tp-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tp-type-card {
    display: block;
    padding: 24px 20px;
    background: var(--tp-card);
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius);
    transition: .25s;
    position: relative;
}

.tp-type-card:hover {
    border-color: var(--tp-accent);
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-lg);
}

.tp-type-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.tp-type-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--tp-primary);
}

.tp-type-card p {
    font-size: 13px;
    color: var(--tp-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.tp-type-go {
    font-size: 13px;
    font-weight: 700;
    color: var(--tp-accent);
}

/* ===== Benefits ===== */
.tp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tp-benefit {
    padding: 28px 24px;
    background: var(--tp-card);
    border-radius: var(--tp-radius);
    border: 1px solid var(--tp-border);
    box-shadow: var(--tp-shadow);
}

.tp-section-benefits {
    background: linear-gradient(180deg, #fff 0%, var(--tp-bg) 100%);
}

.tp-benefit-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.tp-benefit h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tp-benefit p {
    font-size: 14px;
    color: var(--tp-muted);
    line-height: 1.65;
}

/* ===== Compare table ===== */
.tp-compare {
    background: var(--tp-card);
    border-radius: var(--tp-radius);
    border: 1px solid var(--tp-border);
    overflow: hidden;
    box-shadow: var(--tp-shadow-lg);
}

.tp-compare-head,
.tp-compare-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
    padding: 16px 24px;
    align-items: center;
}

.tp-compare-head {
    background: var(--tp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tp-compare-head .bad {
    color: #fca5a5;
}

.tp-compare-head .good {
    color: #6ee7b7;
}

.tp-compare-row {
    border-top: 1px solid var(--tp-border);
    font-size: 14px;
}

.tp-compare-row:nth-child(even) {
    background: #f8fafc;
}

.tp-compare-label {
    font-weight: 700;
    color: var(--tp-primary);
}

.tp-compare-bad {
    color: #94a3b8;
}

.tp-compare-good {
    color: #059669;
    font-weight: 600;
}

/* ===== Pain points ===== */
.tp-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tp-pain-item {
    padding: 24px;
    background: var(--tp-card);
    border-radius: var(--tp-radius-sm);
    border-left: 4px solid var(--tp-accent);
    box-shadow: var(--tp-shadow);
}

.tp-pain-item h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tp-pain-item p {
    font-size: 13px;
    color: var(--tp-muted);
    line-height: 1.6;
}

/* ===== Case study ===== */
.tp-section-case {
    padding: 48px 0;
}

.tp-case-card {
    background: linear-gradient(135deg, var(--tp-primary), color-mix(in srgb, var(--tp-accent) 30%, var(--tp-primary)));
    color: #fff;
    border-radius: var(--tp-radius);
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}

.tp-case-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.tp-case-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--tp-accent);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 14px;
}

.tp-case-card h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
    max-width: 700px;
}

.tp-case-card p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 16px;
}

.tp-case-card .tp-link-cta {
    color: var(--tp-accent2);
}

/* ===== Flow vertical (Modern Card Timeline) ===== */
.tp-flow-v {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: var(--tp-max);
    margin: 48px auto 0;
}

.tp-flow-step {
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 38px 20px 26px;
    text-align: center;
    position: relative;
    box-shadow: var(--tp-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tp-flow-step:hover {
    transform: translateY(-8px);
    border-color: var(--tp-accent);
    box-shadow: var(--tp-shadow-lg);
}

.tp-flow-num {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent2));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--tp-card);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
    transition: transform 0.3s;
}

.tp-section.alt .tp-flow-num {
    border-color: #fff;
}

.tp-flow-step:hover .tp-flow-num {
    transform: translateX(-50%) scale(1.1);
}

.tp-flow-body {
    width: 100%;
    margin-top: 8px;
}

.tp-flow-body h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--tp-primary);
}

.tp-flow-body p {
    font-size: 13px;
    color: var(--tp-muted);
    line-height: 1.5;
}

/* Desktop flow connection indicator */
.tp-flow-v .tp-flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 900;
    color: var(--tp-accent);
    opacity: 0.45;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.3s;
}

.tp-flow-v .tp-flow-step:hover:not(:last-child)::after {
    transform: translateY(-50%) translateX(3px);
    opacity: 0.8;
}

/* 旧版横向流程（兼容） */
.tp-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

.tp-flow .tp-flow-step {
    display: block;
    text-align: center;
    border-left: none;
    margin-left: 0;
    padding: 16px 8px;
    position: relative;
    box-shadow: none;
    border: none;
    background: transparent;
}

.tp-flow .tp-flow-step:hover {
    transform: none;
    box-shadow: none;
}

.tp-flow .tp-flow-num {
    position: static;
    margin: 0 auto 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    border: none;
    box-shadow: none;
    transform: none !important;
}

.tp-flow .tp-flow-step h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.tp-flow .tp-flow-step p {
    font-size: 12px;
    color: var(--tp-muted);
}

/* ===== FAQ ===== */
.tp-faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.tp-faq-item {
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.tp-faq-item summary {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tp-faq-item summary::-webkit-details-marker {
    display: none;
}

.tp-faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--tp-accent);
    font-weight: 400;
}

.tp-faq-item[open] summary::after {
    content: '−';
}

.tp-faq-item p {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--tp-muted);
    line-height: 1.65;
}

/* ===== VIP row ===== */
.tp-vip-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tp-vip-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--tp-radius-sm);
}

.tp-vip-item span {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.tp-vip-item strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 4px;
}

.tp-vip-item p {
    font-size: 12px;
    color: #94a3b8;
}

/* ===== Generic grid & cards（招商/合伙/会员等商业页） ===== */
.tp-grid {
    display: grid;
    gap: 20px;
}

.tp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.tp-card {
    padding: 28px 24px;
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
    text-align: center;
}

.tp-section.alt .tp-card {
    background: var(--tp-bg);
}

.tp-card-icon {
    font-size: 40px;
    display: block;
    margin: 0 auto 14px;
    line-height: 1;
}

.tp-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--tp-primary);
}

.tp-card p {
    font-size: 14px;
    color: var(--tp-muted);
    line-height: 1.65;
}

.tp-vip-card {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--tp-radius-sm);
    transition: background .2s, border-color .2s;
}

.tp-vip-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
}

.tp-vip-card .icon {
    font-size: 36px;
    display: block;
    margin: 0 auto 12px;
    line-height: 1;
}

.tp-vip-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.tp-vip-tag {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

/* ===== CTA Form ===== */
.tp-cta {
    padding: 72px 20px;
    background: var(--tp-primary);
}

.tp-cta-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.tp-cta-box {
    background: var(--tp-card);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--tp-shadow-lg);
}

.tp-cta-urgency {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--tp-accent);
    margin-bottom: 12px;
    padding: 8px;
    background: #fff1f2;
    border-radius: 8px;
}

.tp-cta-box h2 {
    text-align: center;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 900;
    margin-bottom: 8px;
}

.tp-cta-sub {
    text-align: center;
    color: var(--tp-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.tp-form {
    width: 100%;
}

.tp-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.tp-form-row input,
.tp-form-row select {
    flex: 1;
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    font-size: 15px;
    background: var(--tp-bg);
    color: var(--tp-text);
    font-family: inherit;
    transition: border-color .2s;
}

.tp-form-row input:focus,
.tp-form-row select:focus {
    outline: none;
    border-color: var(--tp-accent);
    background: #fff;
}

.tp-form-submit {
    width: 100%;
    padding: 16px;
    margin-top: 4px;
    background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent2));
    color: #fff;
    border: none;
    border-radius: var(--tp-radius-sm);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px var(--tp-accent-glow);
    font-family: inherit;
}

.tp-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--tp-muted);
    margin-top: 14px;
}

/* ===== Sticky mobile CTA ===== */
.tp-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--tp-border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
}

.tp-sticky-text strong {
    display: block;
    font-size: 14px;
}

.tp-sticky-text span {
    font-size: 11px;
    color: var(--tp-muted);
}

/* ===== Index page ===== */
.tp-biz-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.tp-biz-card {
    padding: 28px 24px;
    border-radius: var(--tp-radius);
    color: #fff;
    position: relative;
    transition: transform .2s;
}

.tp-biz-card:hover {
    transform: translateY(-3px);
}

.tp-biz-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
}

.tp-biz-card p {
    font-size: 13px;
    opacity: .9;
}

.tp-biz-card span {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    opacity: .5;
}

.tp-biz-card.biz-1 {
    background: linear-gradient(135deg, #be123c, #e11d48);
}

.tp-biz-card.biz-2 {
    background: linear-gradient(135deg, #c2410c, #f97316);
}

.tp-biz-card.biz-3 {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.tp-cat-block {
    margin-bottom: 40px;
}

.tp-cat-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--tp-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tp-border);
}

.tp-topic-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.tp-topic-item {
    display: block;
    padding: 20px;
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    transition: .2s;
}

.tp-topic-item:hover {
    border-color: var(--tp-accent);
    box-shadow: var(--tp-shadow);
    transform: translateY(-2px);
}

.tp-topic-cat {
    font-size: 11px;
    font-weight: 800;
    color: var(--tp-accent);
    margin-bottom: 6px;
    display: block;
}

.tp-topic-item h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.4;
}

.tp-topic-item p {
    font-size: 12px;
    color: var(--tp-muted);
    margin-bottom: 10px;
}

.tp-topic-go {
    font-size: 12px;
    font-weight: 700;
    color: var(--tp-accent);
}

/* ===== Footer ===== */
.tp-footer {
    background: var(--tp-primary);
    color: #94a3b8;
    padding: 48px 20px 28px;
    font-size: 13px;
}

.tp-footer-inner {
    max-width: var(--tp-max);
    margin: 0 auto;
}

.tp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 28px;
}

.tp-footer h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

.tp-footer a {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    transition: .2s;
}

.tp-footer a:hover {
    color: #fff;
}

.tp-footer-copy {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

/* ===== Price cards (vip-benefits page) ===== */
.tp-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tp-price-card {
    background: var(--tp-card);
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 32px 24px;
    text-align: center;
}

.tp-price-card.featured {
    border-color: var(--tp-accent);
    box-shadow: var(--tp-shadow-lg);
}

.tp-price-card h3 {
    font-size: 18px;
    font-weight: 900;
}

.tp-price-card .price {
    font-size: 36px;
    font-weight: 900;
    color: var(--tp-accent);
    margin: 16px 0;
}

.tp-price-card .price small {
    font-size: 14px;
    color: var(--tp-muted);
    font-weight: 400;
}

.tp-price-card ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.tp-price-card li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--tp-muted);
    border-bottom: 1px solid var(--tp-border);
}

.tp-price-card li::before {
    content: '✓ ';
    color: #22c55e;
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .tp-hero-grid {
        grid-template-columns: 1fr;
    }

    .tp-hero-side {
        max-width: 400px;
    }

    .tp-type-grid,
    .tp-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-topic-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-vip-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-flow {
        grid-template-columns: repeat(3, 1fr);
    }

    .tp-flow-v {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px 20px;
    }

    .tp-flow-v .tp-flow-step:not(:last-child)::after {
        display: none;
    }

    .tp-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tp-nav {
        display: none;
    }

    .tp-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--tp-header-h);
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--tp-border);
        box-shadow: var(--tp-shadow-lg);
    }

    .tp-nav-toggle {
        display: flex;
    }

    .tp-header-cta {
        display: none;
    }

    .tp-hero-grid {
        padding: 40px 20px 48px;
    }

    .tp-btn-ghost {
        display: block;
        margin: 12px 0 0;
        text-align: center;
    }

    .tp-type-grid,
    .tp-benefits-grid,
    .tp-pain-grid,
    .tp-topic-list,
    .tp-biz-banner,
    .tp-price-grid,
    .tp-grid-2,
    .tp-grid-3,
    .tp-grid-4 {
        grid-template-columns: 1fr;
    }

    .tp-flow {
        grid-template-columns: 1fr;
    }

    .tp-flow-v {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tp-flow-v .tp-flow-step:not(:last-child)::after {
        display: block;
        content: "↓";
        position: absolute;
        bottom: -28px;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        font-size: 20px;
        font-weight: 900;
        color: var(--tp-accent);
        opacity: 0.6;
    }

    .tp-vip-row {
        grid-template-columns: 1fr 1fr;
    }

    .tp-compare-head,
    .tp-compare-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 16px;
    }

    .tp-compare-head {
        display: none;
    }

    .tp-compare-row {
        display: block;
    }

    .tp-compare-bad::before {
        content: '❌ ';
    }

    .tp-compare-good::before {
        content: '✅ ';
    }

    .tp-form-row {
        flex-direction: column;
    }

    .tp-sticky {
        display: flex;
    }

    body.tp-page {
        padding-bottom: 72px;
    }

    .tp-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   响应式断点 (Responsive Breakpoints)
   ========================================================================== */

/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
    .tp-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tp-hero-side {
        display: none;
    }

    .tp-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tp-topic-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-biz-banner {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
    .tp-wrap {
        padding: 0 15px;
    }

    .tp-section {
        padding: 36px 0;
    }

    /* Hero */
    .tp-hero-grid {
        padding: 40px 15px 48px;
    }

    .tp-hero h1 {
        font-size: 26px;
    }

    .tp-hero-desc {
        font-size: 14px;
    }

    /* Stats */
    .tp-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 14px 10px;
    }

    .tp-stat strong {
        font-size: 20px;
    }

    .tp-stat span {
        font-size: 11px;
    }

    /* Type cards */
    .tp-type-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tp-type-card {
        padding: 16px 12px;
    }

    .tp-type-icon {
        font-size: 28px;
    }

    .tp-type-card h3 {
        font-size: 14px;
    }

    .tp-type-card p {
        font-size: 11px;
    }

    /* Section heads */
    .tp-sec-head {
        margin-bottom: 24px;
    }

    .tp-sec-head h2 {
        font-size: 22px;
    }

    /* Benefits */
    .tp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Comparison table */
    .tp-compare-head {
        font-size: 12px;
    }

    .tp-compare-row {
        font-size: 13px;
    }

    .tp-compare-label {
        min-width: 60px;
        font-size: 12px;
    }

    /* Pain grid */
    .tp-pain-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Flow */
    .tp-flow-v .tp-flow-step {
        gap: 12px;
    }

    .tp-flow-num {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* FAQ */
    .tp-faq-item summary {
        font-size: 15px;
        padding: 14px;
    }

    .tp-faq-item p {
        font-size: 13px;
        padding: 0 14px 14px;
    }

    /* CTA form */
    .tp-cta-box {
        padding: 28px 16px;
    }

    .tp-cta-box h2 {
        font-size: 20px;
    }

    .tp-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Footer */
    .tp-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Pricing */
    .tp-price-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* VIP row */
    .tp-vip-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Index page - topic list & biz cards */
    .tp-topic-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tp-biz-banner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tp-biz-card {
        padding: 18px 16px;
    }

    .tp-biz-card h3 {
        font-size: 16px;
    }

    /* Sticky bottom bar */
    .tp-sticky {
        padding: 10px 15px;
    }

    .tp-sticky-text strong {
        font-size: 14px;
    }

    .tp-sticky-text span {
        font-size: 12px;
    }

    .tp-btn-sm {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Cat block */
    .tp-cat-block {
        padding: 20px 16px 14px;
        margin-bottom: 20px;
    }

    .tp-cat-title {
        font-size: 17px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }
}

/* --- Small phone (≤ 480px) --- */
@media (max-width: 480px) {
    .tp-hero h1 {
        font-size: 22px;
    }

    .tp-stats-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .tp-stat {
        padding: 8px 4px;
    }

    .tp-stat strong {
        font-size: 18px;
    }

    .tp-type-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .tp-compare-head span {
        font-size: 11px;
    }
}