/* Generated by Trae Work */
/* ========== Shared styles for bait sub-pages ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1a1f36;
    background: #ffffff;
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    padding: 56px 24px 64px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 45%, #059669 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-block;
    margin-right: 20px;
    padding: 4px 0;
}

.hero-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hero-brand {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.hero-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.hero-meta span {
    margin-right: 18px;
}

/* ========== Main Content ========== */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1f36;
    margin: 40px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3e8ee;
    line-height: 1.4;
}

.content h2:first-of-type {
    margin-top: 0;
}

.content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1f36;
    margin: 28px 0 12px;
    line-height: 1.5;
}

.content p {
    margin-bottom: 16px;
    color: #1a1f36;
}

.content ul,
.content ol {
    margin: 12px 0 20px 24px;
}

.content li {
    margin-bottom: 8px;
}

.content strong {
    font-weight: 600;
    color: #1a1f36;
}

.content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0 6px 6px 0;
    color: #3c4257;
    font-size: 15px;
}

.content blockquote p:last-child {
    margin-bottom: 0;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 14px;
}

.content table th,
.content table td {
    padding: 12px 14px;
    text-align: left;
    border: 1px solid #e3e8ee;
}

.content table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1a1f36;
}

.content table tr:nth-child(even) td {
    background: #fafbfc;
}

.content hr {
    border: none;
    border-top: 1px solid #e3e8ee;
    margin: 40px 0;
}

/* ========== Callout / Highlight Boxes ========== */
.callout {
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid #e3e8ee;
    background: #f8fafc;
}

.callout-primary {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.callout-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.callout-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.callout-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: #1a1f36;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* ========== CTA Section ========== */
.cta-section {
    margin: 48px 0 0;
    padding: 32px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    text-align: center;
}

.cta-section h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 12px;
}

.cta-section p {
    color: #3c4257;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #2563eb;
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* ========== Checklist Specific ========== */
.checklist-section {
    margin: 28px 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
}

.checklist-section h3 {
    margin-top: 0;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e8ee;
    margin-bottom: 16px;
}

.checklist-section .section-score {
    float: right;
    font-size: 13px;
    color: #697386;
    font-weight: 400;
}

.check-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed #eef2f7;
    cursor: pointer;
    line-height: 1.6;
}

.check-item:last-child {
    border-bottom: none;
}

.check-item input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    flex-shrink: 0;
    cursor: pointer;
}

.check-item label {
    cursor: pointer;
    font-size: 15px;
    color: #1a1f36;
    flex: 1;
}

.check-item .check-hint {
    display: block;
    font-size: 13px;
    color: #697386;
    margin-top: 4px;
}

.score-box {
    margin: 32px 0;
    padding: 28px;
    background: linear-gradient(135deg, #1a1f36 0%, #2d3748 100%);
    color: #ffffff;
    border-radius: 12px;
    text-align: center;
}

.score-box h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 20px;
}

.score-display {
    font-size: 48px;
    font-weight: 700;
    color: #60a5fa;
    margin: 12px 0;
    line-height: 1.2;
}

.score-display .score-total {
    font-size: 20px;
    color: #94a3b8;
    font-weight: 400;
}

.score-result {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.8;
    text-align: left;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.score-result strong {
    color: #ffffff;
}

.score-level {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
}

.level-danger { background: #ef4444; color: #fff; }
.level-warning { background: #f59e0b; color: #fff; }
.level-good { background: #10b981; color: #fff; }
.level-excellent { background: #3b82f6; color: #fff; }

/* ========== Footer ========== */
.footer {
    background: #1a1f36;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 32px 24px;
    font-size: 14px;
    line-height: 1.8;
}

.footer strong {
    color: #ffffff;
    font-weight: 600;
}

.footer a {
    color: #93c5fd;
}

/* ========== Numbered Steps ========== */
.step-list {
    counter-reset: step-counter;
    list-style: none;
    margin-left: 0;
}

.step-list > li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 52px;
    margin-bottom: 24px;
    min-height: 40px;
}

.step-list > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.step-list > li > strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: #1a1f36;
}

/* ========== FAQ ========== */
.faq-item {
    margin: 16px 0;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
}

.faq-q {
    font-weight: 600;
    color: #1a1f36;
    margin-bottom: 8px;
    font-size: 15px;
}

.faq-q::before {
    content: "Q：";
    color: #2563eb;
    font-weight: 700;
}

.faq-a {
    color: #3c4257;
    font-size: 15px;
}

.faq-a::before {
    content: "A：";
    color: #059669;
    font-weight: 700;
}

/* ========== Data Highlight ========== */
.data-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.data-card {
    flex: 1;
    min-width: 160px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    text-align: center;
}

.data-num {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    line-height: 1.2;
    margin-bottom: 6px;
}

.data-label {
    font-size: 13px;
    color: #697386;
}

/* ========== Print Friendly ========== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    html, body {
        font-size: 12pt;
        line-height: 1.6;
    }

    .hero {
        padding: 24px 0;
        background: none !important;
        color: #000 !important;
        border-bottom: 2px solid #000;
        page-break-after: avoid;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-breadcrumb {
        display: none;
    }

    .hero-brand {
        background: none !important;
        border: 1px solid #000 !important;
        color: #000 !important;
        font-size: 10pt;
        padding: 2px 8px;
    }

    .hero h1 {
        font-size: 20pt;
        color: #000 !important;
        margin-bottom: 8px;
    }

    .hero-meta {
        color: #333 !important;
        font-size: 10pt;
    }

    .content {
        max-width: 100%;
        padding: 20px 0;
    }

    .content h2 {
        font-size: 15pt;
        border-bottom: 1px solid #000;
        margin-top: 24px;
        page-break-after: avoid;
    }

    .content h3 {
        font-size: 13pt;
        page-break-after: avoid;
    }

    .content p, .content li {
        font-size: 11pt;
        orphans: 3;
        widows: 3;
    }

    .content blockquote {
        border-left: 3px solid #000;
        background: none !important;
        padding: 8px 14px;
    }

    .callout, .cta-section, .score-box {
        border: 1px solid #000;
        background: none !important;
        page-break-inside: avoid;
    }

    .cta-btn {
        display: none;
    }

    .checklist-section {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }

    .check-item input[type="checkbox"] {
        -webkit-appearance: checkbox;
        appearance: checkbox;
        border: 1px solid #000;
    }

    table {
        page-break-inside: avoid;
    }

    table th {
        background: #eee !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .footer {
        background: none !important;
        color: #000 !important;
        border-top: 1px solid #000;
        padding: 16px 0;
    }

    .footer strong {
        color: #000 !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }

    .hero-breadcrumb a[href]::after,
    .footer a[href]::after {
        content: "";
    }

    .page-break {
        page-break-before: always;
    }
}
