/* 服务详情H5样式 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    background: #f5f7fa;
    color: #333;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 顶部状态栏模拟 */
.status-bar {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    background: #fff;
}
.status-bar .right { display: flex; align-items: center; gap: 6px; }
.battery {
    display: inline-block;
    width: 22px; height: 11px;
    border: 1px solid #111; border-radius: 3px;
    position: relative; padding: 1px;
}
.battery::after { content: ''; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; background: #111; border-radius: 0 1px 1px 0; }
.battery i { display: block; width: 78%; height: 100%; background: #111; border-radius: 1px; }

/* 导航栏 */
.navbar {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.navbar .icon { font-size: 22px; color: #333; }
.navbar .title { font-size: 16px; font-weight: 600; color: #111; }
.navbar .more { font-size: 20px; color: #333; letter-spacing: 1px; }

/* 容器 */
.page { max-width: 480px; margin: 0 auto; background: #f5f7fa; min-height: 100vh; padding-bottom: 80px; }

/* 服务介绍卡片 */
.section-title {
    display: flex;
    align-items: center;
    padding: 18px 16px 10px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.section-title::before {
    content: '';
    width: 3px; height: 14px;
    background: #3b7bff;
    border-radius: 2px;
    margin-right: 8px;
}
.intro-card {
    margin: 0 12px;
    background: linear-gradient(135deg, #eaf3ff 0%, #d6e8ff 100%);
    border-radius: 12px;
    padding: 18px 16px;
    position: relative;
    overflow: hidden;
}
.intro-card .title-main {
    font-size: 18px;
    font-weight: 700;
    color: #1d3a8a;
    line-height: 1.4;
    margin-bottom: 6px;
}
.intro-card .title-sub {
    font-size: 12px;
    color: #5a7bbd;
}
.intro-card .check-icon {
    position: absolute;
    right: 18px; top: 18px;
    width: 38px; height: 38px;
    background: #ff7a3d;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; font-weight: bold;
    box-shadow: 0 4px 10px rgba(255,122,61,.3);
}
.intro-card .check-icon::after { content: '✓'; }

/* 合规提示 */
.notice-card {
    margin: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.notice-tag {
    display: inline-block;
    background: #e8f1ff;
    color: #2b6cd4;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 500;
}
.notice-text {
    font-size: 12.5px;
    color: #555;
    line-height: 1.7;
    text-indent: 2em;
}

/* 申报时间 */
.time-card {
    margin: 0 12px 12px;
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.time-card .label {
    flex-shrink: 0;
    background: #fff5e6;
    color: #ff7a3d;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 1px;
}
.time-card .text {
    font-size: 12.5px;
    color: #555;
    line-height: 1.7;
}

/* 年报服务流程图 */
.flow-card {
    margin: 0 12px 12px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    padding: 6px;
}
.flow-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 选择专业年报代办 */
.choose-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 12px;
}
.choose-header h3 { font-size: 17px; color: #1d3a8a; font-weight: 700; }
.choose-header .tip { font-size: 12px; color: #ff7a3d; }

/* 套餐对比卡片 */
.compare-card {
    margin: 0 12px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.compare-header {
    display: flex;
    background: #f5f8ff;
    font-weight: 600;
    color: #2b4d8f;
    font-size: 14px;
}
.compare-header > div {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid #eaeef7;
}
.compare-header > div:last-child { border-right: none; }
.compare-row {
    display: flex;
    border-top: 1px solid #f0f2f7;
}
.compare-row > div {
    flex: 1;
    padding: 14px 8px;
    text-align: center;
    font-size: 12.5px;
    color: #555;
    line-height: 1.5;
    border-right: 1px solid #f0f2f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.compare-row > div:last-child { border-right: none; }
.compare-row .icon-ok {
    width: 22px; height: 22px;
    background: #ff7a3d;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: bold;
}
.compare-row .icon-no {
    width: 22px; height: 22px;
    background: #cdd5e3;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: bold;
}

/* 底部按钮 */
.footer {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.footer .service-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #2b6cd4;
    font-size: 13px;
    padding: 6px 10px;
}
.footer .service-btn::before {
    content: '☎';
    font-size: 18px;
}
.footer .submit-btn {
    flex: 1;
    height: 44px;
    border: none;
    background: linear-gradient(90deg, #4a8aff 0%, #2b6cd4 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(43,108,212,.3);
}
.footer .submit-btn:active { opacity: .85; }

/* 弹窗 */
.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    animation: popIn .25s ease;
}
@keyframes popIn {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.modal h4 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 0 14px;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
}
.modal-body { padding: 16px; }
.modal-section-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.plan-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .2s;
}
.plan-item.active {
    border-color: #2b6cd4;
    background: #f0f6ff;
}
.plan-item input { display: none; }
.plan-item .radio {
    width: 18px; height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}
.plan-item.active .radio { border-color: #2b6cd4; }
.plan-item.active .radio::after {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 10px; height: 10px;
    background: #2b6cd4;
    border-radius: 50%;
}
.modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}
.modal-row .price { color: #ff4d4f; font-weight: 600; font-size: 16px; }
.modal-row .desc { color: #2b6cd4; font-size: 12.5px; }
.modal-pay-btn {
    margin: 12px 16px 18px;
    width: calc(100% - 32px);
    height: 46px;
    border: none;
    background: linear-gradient(90deg, #4a8aff 0%, #2b6cd4 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 23px;
    cursor: pointer;
}

/* 支付方式选择 */
.pay-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.pay-method {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
}
.pay-method.active { border-color: #2b6cd4; background: #f0f6ff; }
.pay-method .pay-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
    font-weight: bold;
}
.pay-method .pay-icon.alipay { background: #1677ff; }
.pay-method .pay-icon.wxpay { background: #07c160; }
.pay-method .pay-icon.qqpay { background: #12b7f5; }
.pay-method .pay-name { flex: 1; font-size: 14px; color: #333; }
.pay-method .pay-radio {
    width: 16px; height: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
}
.pay-method.active .pay-radio { border-color: #2b6cd4; }
.pay-method.active .pay-radio::after {
    content: '';
    position: absolute; left: 3px; top: 3px;
    width: 8px; height: 8px;
    background: #2b6cd4;
    border-radius: 50%;
}
