﻿/* ===== 报工宝外宣网站样式 ===== */
:root {
    --brand: #E02E24;
    --brand-dark: #B71C12;
    --brand-light: #FFF1F0;
    --ink: #1F2430;
    --muted: #6B7280;
    --line: #E8E8EC;
    --bg-soft: #FAFAFB;
    --radius: 12px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.7;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; margin: 0 0 12px; }

.text-brand { color: var(--brand); }
.text-danger { color: #DC3545; }

/* ===== 按钮 ===== */
.btn { display: inline-block; border-radius: 8px; padding: 9px 20px; font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: all .15s ease; text-align: center; }
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-outline-secondary { background: #fff; color: #4B5563; border-color: #D1D5DB; }
.btn-outline-secondary:hover { background: #F3F4F6; }
.btn-outline-primary { background: #fff; color: #0D6EFD; border-color: #0D6EFD; }
.btn-outline-primary:hover { background: #0D6EFD; color: #fff; }
.btn-outline-danger { background: #fff; color: #DC3545; border-color: #DC3545; }
.btn-outline-danger:hover { background: #DC3545; color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #FFF3F2; color: var(--brand-dark); }
.btn-lg { padding: 13px 32px; font-size: 16px; }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 6px; }
.btn-block { display: block; width: 100%; }

/* ===== 顶部导航 ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand:hover { color: var(--ink); }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--brand); color: #fff; font-size: 20px; font-weight: 700;
}
.brand-mark-lg { width: 56px; height: 56px; font-size: 30px; border-radius: 14px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-size: 12px; font-weight: 400; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a { color: #374151; font-size: 15px; }
.main-nav > a:hover { color: var(--brand); }
.main-nav .nav-admin { color: #9CA3AF; font-size: 13px; }
.main-nav .nav-cta { color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(180deg, #FFF6F5 0%, #FFFFFF 100%);
    padding: 72px 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
    display: inline-block; background: var(--brand); color: #fff;
    font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; margin-bottom: 18px; letter-spacing: 1px; }
.hero-sub { font-size: 17px; color: #4B5563; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 700; }

.hero-card { display: flex; justify-content: center; }
.price-tag {
    background: #fff; border: 2px solid var(--brand); border-radius: 18px;
    padding: 30px 28px; width: 100%; max-width: 340px;
    box-shadow: 0 14px 40px rgba(224, 46, 36, .12);
}
.price-label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.price-main { text-align: center; color: var(--brand); font-weight: 800; line-height: 1; margin-bottom: 6px; }
.price-main .currency { font-size: 26px; vertical-align: 18px; }
.price-main .per { font-size: 18px; color: var(--ink); font-weight: 500; }
.price-main { font-size: 64px; }
.price-year { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-includes { list-style: none; padding: 0; margin: 0 0 20px; }
.price-includes li { padding: 8px 0 8px 26px; position: relative; font-size: 14px; border-bottom: 1px dashed var(--line); }
.price-includes li:last-child { border-bottom: none; }
.price-includes li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }
.price-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ===== 区块通用 ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: #1F2430; color: #E5E7EB; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.section-dark .section-head p { color: #9CA3AF; }
.section-more { text-align: center; margin-top: 36px; }

/* ===== 痛点 ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px; position: relative; overflow: hidden;
}
.pain-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.pain-num { font-size: 30px; font-weight: 800; color: #FBD5D2; line-height: 1; margin-bottom: 10px; }
.pain-card h3 { font-size: 19px; }
.pain-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ===== 对比表 ===== */
.compare-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare-table thead th { background: #F9FAFB; font-weight: 600; color: #374151; }
.compare-table .col-highlight { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.compare-table .row-total td { border-bottom: none; font-size: 16px; background: #F9FAFB; }
.compare-table .row-total .col-highlight { background: var(--brand); color: #fff; }

/* ===== 功能卡片 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; transition: all .15s ease;
}
.feature-card:hover { border-color: #F3B7B3; box-shadow: 0 8px 24px rgba(224,46,36,.08); transform: translateY(-2px); }
.section-dark .feature-card { background: #2A2F3A; border-color: #3A4150; }
.feature-icon {
    width: 46px; height: 46px; border-radius: 10px; background: var(--brand-light);
    color: var(--brand); font-weight: 700; font-size: 17px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-card h3 { font-size: 17.5px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }
.section-dark .feature-card p { color: #9CA3AF; }

/* ===== 行业特色 ===== */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry-item {
    background: #2A2F3A; border: 1px solid #3A4150; border-radius: var(--radius);
    padding: 22px 24px; display: flex; flex-direction: column; gap: 8px;
}
.industry-item strong { color: #fff; font-size: 16.5px; }
.industry-item span { color: #9CA3AF; font-size: 14px; }

/* ===== 流程 ===== */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow-step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 14px; text-align: center; min-width: 118px;
    display: flex; flex-direction: column; gap: 4px;
}
.flow-dot {
    width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
    margin: 0 auto 6px;
}
.flow-step strong { font-size: 15.5px; }
.flow-step small { color: var(--muted); font-size: 12.5px; }
.flow-arrow { align-self: center; color: #F3B7B3; font-size: 22px; font-weight: 700; }

/* ===== 不限人数横幅 ===== */
.unlimited-band { background: var(--brand); color: #fff; padding: 56px 0; }
.unlimited-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.unlimited-text h2 { font-size: 32px; margin-bottom: 10px; }
.unlimited-text p { margin: 0; font-size: 16px; opacity: .95; max-width: 640px; }
.unlimited-price { text-align: center; background: rgba(255,255,255,.14); border-radius: 16px; padding: 22px 40px; }
.unlimited-num { font-size: 58px; font-weight: 800; line-height: 1; }
.unlimited-num span { font-size: 20px; font-weight: 500; }
.unlimited-sub { margin-top: 8px; font-size: 14px; opacity: .95; }

/* ===== 价格 ===== */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.pricing-card {
    background: #fff; border: 2px solid var(--brand); border-radius: 18px;
    padding: 36px 32px; box-shadow: 0 14px 40px rgba(224,46,36,.10);
}
.pricing-name { text-align: center; font-size: 17px; font-weight: 600; color: var(--muted); }
.pricing-price { text-align: center; color: var(--brand); font-weight: 800; font-size: 66px; line-height: 1.1; margin: 8px 0 4px; }
.pricing-price .currency { font-size: 28px; vertical-align: 20px; }
.pricing-price small { font-size: 20px; color: var(--ink); font-weight: 500; }
.pricing-origin { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.pricing-origin { text-decoration: line-through; text-decoration-color: #F3B7B3; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-list li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }
.pricing-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.pricing-side h3 { font-size: 22px; margin-bottom: 12px; }
.pricing-side > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.pricing-side-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pricing-side-item:last-child { border-bottom: none; }
.pricing-side-item .ok { color: var(--brand); font-weight: 800; font-size: 17px; }
.pricing-side-item strong { display: block; font-size: 15.5px; }
.pricing-side-item p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
    cursor: pointer; padding: 17px 22px; font-weight: 600; font-size: 15.5px;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--brand); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--brand); }
/* summary 内的 H3（问题标题）保持原有视觉，同时保留标题语义供搜索引擎/AI 识别 */
.faq-item summary h3 { display: inline; margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.faq-item p { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; }

/* ===== CTA 横幅 ===== */
.cta-band { background: linear-gradient(120deg, #B71C12 0%, #E02E24 100%); color: #fff; padding: 60px 0; text-align: center; }
.cta-inner h2 { font-size: 30px; }
.cta-inner p { font-size: 16px; opacity: .95; margin-bottom: 24px; }

/* ===== 页头（内页） ===== */
.page-hero { background: #FFF6F5; padding: 52px 0 44px; text-align: center; }
.page-hero h1 { font-size: 34px; margin-bottom: 10px; }
.page-hero p { color: var(--muted); margin: 0; font-size: 16px; }

/* ===== 功能页模块分组 ===== */
.module-group { margin-bottom: 56px; }
.module-title { font-size: 24px; padding-left: 14px; border-left: 4px solid var(--brand); margin-bottom: 6px; }
.module-desc { color: var(--muted); margin: 0 0 24px; padding-left: 18px; font-size: 15px; }

/* ===== 文章列表 ===== */
.category-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-chip { padding: 7px 18px; border-radius: 999px; background: #F3F4F6; color: #4B5563; font-size: 14px; }
.cat-chip:hover { background: var(--brand-light); color: var(--brand); }
.cat-chip.active { background: var(--brand); color: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: all .15s ease; }
.article-card:hover { border-color: #F3B7B3; box-shadow: 0 8px 24px rgba(224,46,36,.08); transform: translateY(-2px); color: var(--ink); }
.article-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.article-cat { background: var(--brand-light); color: var(--brand); padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.article-card h3 { font-size: 17.5px; margin: 0; }
.article-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.article-more { color: var(--brand); font-size: 13.5px; font-weight: 500; }
.empty-box { text-align: center; color: var(--muted); padding: 60px 0; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ===== 文章详情 ===== */
.article-detail-wrap { padding-top: 48px; }
.article-detail { max-width: 780px; margin: 0 auto; }
.article-detail-head { text-align: center; margin-bottom: 36px; }
.article-detail-head h1 { font-size: 30px; margin: 12px 0 10px; }
.article-detail-meta { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: 13.5px; }
.article-content { font-size: 15.5px; }
.article-content h3 { font-size: 19px; margin-top: 28px; }
.article-content p { margin: 0 0 14px; }
.article-content ul, .article-content ol { padding-left: 22px; margin: 0 0 14px; }
.article-content li { margin-bottom: 8px; }
.article-content .text-muted { color: var(--muted); font-size: 13.5px; }
.article-detail-foot { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 28px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; margin-bottom: 30px; }
.article-nav a { max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.article-cta { text-align: center; background: var(--brand-light); border-radius: var(--radius); padding: 28px; }
.article-cta p { margin: 0 0 14px; font-weight: 600; }

/* ===== 关于页 ===== */
.about-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.about-main h2 { font-size: 24px; margin-top: 34px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { color: #4B5563; }
.about-list { padding-left: 0; list-style: none; }
.about-list li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px dashed var(--line); color: #4B5563; }
.about-list li::before { content: "●"; position: absolute; left: 4px; color: var(--brand); font-size: 10px; top: 16px; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.promise-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.promise-item strong { font-size: 15px; }
.promise-item span { color: var(--muted); font-size: 13px; }
.about-side { position: sticky; top: 90px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 18px; font-size: 14px; }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 500; }
.side-card-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.side-price { font-size: 24px; font-weight: 800; margin: 0; }
.side-price-sub { font-size: 13px; margin: 6px 0 0; opacity: .95; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 7px 0 7px 24px; position: relative; font-size: 14px; color: #4B5563; }
.check-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }

/* ===== 联系/试用页 ===== */
.contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.contact-form-card h2 { font-size: 23px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 10px 14px; font-size: 14.5px;
    border: 1px solid #D1D5DB; border-radius: 8px; outline: none; transition: border-color .15s;
    font-family: inherit;
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(224,46,36,.1); }
.form-select {
    padding: 10px 14px; font-size: 14.5px;
    border: 1px solid #D1D5DB; border-radius: 8px; outline: none; transition: border-color .15s;
    font-family: inherit;
}
.form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(224,46,36,.1); }
.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-side .side-card { margin-bottom: 0; }

/* ===== 结果页 ===== */
.result-wrap { display: flex; justify-content: center; }
.result-card { text-align: center; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 48px 40px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.result-icon {
    width: 64px; height: 64px; border-radius: 50%; background: #E8F5E9; color: #2E7D32;
    font-size: 32px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.result-icon-error { background: #FDECEA; color: #C62828; }
.result-card h1 { font-size: 26px; }
.result-card p { color: var(--muted); }
.result-tip { font-size: 13.5px; }
.result-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }

/* ===== 页脚 ===== */
.site-footer { background: #1F2430; color: #9CA3AF; padding: 52px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-text small { color: #9CA3AF; }
.footer-slogan { font-size: 14px; line-height: 1.8; }
.site-footer h5 { color: #fff; font-size: 15px; margin: 0 0 14px; font-weight: 600; }
.site-footer a { display: block; color: #9CA3AF; font-size: 14px; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 4px 0; font-size: 14px; }
.footer-bottom { border-top: 1px solid #374151; padding: 18px 0; display: flex; justify-content: space-between; font-size: 13px; }
.footer-bottom a { display: inline; padding: 0; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .feature-grid, .pain-grid, .industry-grid, .article-grid { grid-template-columns: 1fr 1fr; }
    .pricing-wrap, .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
    .about-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 66px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px;
    }
    .main-nav.open { display: flex; }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 30px; }
    .section { padding: 48px 0; }
    .section-head h2 { font-size: 25px; }
    .feature-grid, .pain-grid, .industry-grid, .article-grid, .promise-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .flow-arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .unlimited-text h2 { font-size: 25px; }
    .pricing-price { font-size: 52px; }
}
