* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, #e8f4ff 0%, #f5faff 30%, #eef6ff 100%);
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
}
.wrapper { max-width: 480px; margin: 0 auto; padding-bottom: 24px; }

/* 顶部导航 */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}
.logo { font-size: 18px; font-weight: 700; color: #333; }
.sample-link { color: #2196f3; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* 顶部封面 */
.hero {
    width: 100%;
    min-height: 220px;
    background: url('bj.png') center top no-repeat;
    background-size: cover;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.hero-subtitle {
    color: #1565c0;
    font-size: 14px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* 卡片表单 */
.form-card {
    background: #fff;
    border-radius: 16px;
    margin: -40px 14px 14px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
    position: relative;
    z-index: 2;
}
.input-group {
    display: flex;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #e3f2fd;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.icon { font-size: 16px; color: #90a4ae; margin-right: 10px; }
.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #333;
}
.input-group input::placeholder { color: #b0bec5; }
.code-group { padding-right: 6px; }
.btn-code {
    background: #e3f2fd;
    color: #2196f3;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
.btn-code:disabled { color: #90a4ae; background: #eceff1; }

.agree {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #666;
    margin: 8px 0 16px;
    cursor: pointer;
}
.agree input { margin-top: 3px; margin-right: 6px; }
.agree a { color: #2196f3; }

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #42a5f5 0%, #2196f3 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}
.btn-submit:hover { opacity: 0.95; }

/* 友情提示 */
.warning-box {
    background: #ffebee;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 14px 14px;
    font-size: 13px;
    color: #c62828;
    line-height: 1.7;
}

/* 风险警示 */
.risk-note {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin: 0 14px 14px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}
.risk-note p { margin-bottom: 8px; }
.risk-note p:last-child { margin-bottom: 0; }

/* 检测标签 */
.tags-section {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin: 0 14px 14px;
}
.tags-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background: #e3f2fd;
    color: #1565c0;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 18px;
    display: flex;
    align-items: center;
}
.tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #2196f3;
    border-radius: 50%;
    margin-right: 6px;
}

/* 底部 */
.footer-icp {
    text-align: center;
    font-size: 13px;
    color: #90a4ae;
    padding: 16px 0;
}

/* 支付成功页 */
.success-box {
    text-align: center;
    padding: 60px 20px 40px;
}
.success-icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #4caf50;
    font-size: 40px;
    margin: 0 auto 20px;
}
.success-box h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #333; }
.success-box > p { color: #666; font-size: 14px; margin-bottom: 24px; }
.success-info {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin: 0 14px 20px;
    font-size: 14px;
    color: #555;
    line-height: 2;
    text-align: left;
}
.btn-back {
    display: inline-block;
    background: #fff;
    color: #2196f3;
    border: 1px solid #2196f3;
    border-radius: 24px;
    padding: 12px 32px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
}

/* 报告页 */
.report-hero {
    width: 100%;
    min-height: 160px;
    background: url('bj.png') center top no-repeat;
    background-size: cover;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.report-no {
    color: #0d47a1;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,0.7);
    padding: 4px 10px;
    border-radius: 12px;
}
.report-card {
    background: #fff;
    border-radius: 16px;
    margin: -40px 14px 14px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
}
.report-card .report-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1565c0;
    border-bottom: 1px solid #e3f2fd;
    padding-bottom: 10px;
}
.report-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}
.report-info-row:last-of-type { border-bottom: none; }
.report-info-row span:first-child { color: #666; }
.report-info-row span:last-child { color: #333; font-weight: 500; }
.status-green { color: #4caf50; font-weight: 700; }
.report-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}
.report-item:last-child { border-bottom: none; }
.result-green { color: #4caf50; font-weight: 500; }
.report-section { margin-top: 16px; }
.report-section h4 { font-size: 15px; color: #333; margin-bottom: 8px; }
.report-section p { font-size: 13px; color: #666; line-height: 1.8; }

/* 我的报告 */
.report-list { padding: 0 14px; }
.report-list-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
}
.report-list-title { font-size: 16px; font-weight: 700; color: #1565c0; margin-bottom: 10px; }
.report-list-info { font-size: 14px; color: #555; line-height: 2; }
.empty-tip {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 40px 20px;
}

/* 在线客服 */
.side-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-btn {
    width: 52px;
    background: linear-gradient(180deg, #4facfe 0%, #2196f3 100%);
    border-radius: 12px 0 0 12px;
    padding: 12px 6px;
    text-align: center;
    color: #fff;
    box-shadow: -2px 4px 16px rgba(33, 150, 243, 0.3);
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}
.side-btn .sb-icon {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    font-size: 20px;
}
.side-btn .sb-text { font-size: 12px; line-height: 1.3; font-weight: 500; }

.cs-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f2f5;
    z-index: 100;
    flex-direction: column;
}
.cs-dialog.show { display: flex; }
.cs-header {
    background: #2196f3;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}
.cs-phone { font-size: 20px; margin-right: 8px; }
.cs-title { font-size: 17px; font-weight: 600; }
.cs-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}
.cs-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.cs-time {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-bottom: 14px;
}
.cs-welcome {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cs-links {
    background: #fff;
    border-radius: 10px;
    padding: 6px 0;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cs-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    color: #1565c0;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}
.cs-link:last-child { border-bottom: none; }
.cs-link-dot {
    color: #1565c0;
    font-weight: 600;
    margin-right: 6px;
    min-width: 22px;
}
.cs-notice {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cs-footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.cs-smile {
    font-size: 24px;
    color: #999;
    margin-right: 8px;
    cursor: pointer;
}
.cs-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
}
.cs-send {
    background: transparent;
    border: none;
    color: #bdbdbd;
    font-size: 15px;
    margin-left: 10px;
    cursor: pointer;
}
