:root {
    --navy: #0b1f3a;
    --blue: #1a56d6;
    --blue-press: #1346b0;
    --bg: #eef2f7;
    --text: #102033;
    --muted: #66758a;
    --line: #e2e8f0;
    --ok: #0d7a4f;
    --err: #c22727;
    --shadow: 0 10px 32px rgba(11, 31, 58, .06);
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.wrap { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.topbar-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brands {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.logo img { display: block; height: 44px; width: auto; }
.brands-x {
    color: #9aa7b8;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.top-link {
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
}
.top-link:hover { color: var(--blue); }

.page {
    width: min(1400px, calc(100% - 48px));
    margin: auto;
    padding: 40px 0 56px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.card {
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 36px 32px;
    min-height: 640px;
}
.card-head {
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.card-head h2 {
    margin: 0;
    font-size: 22px;
    color: var(--navy);
    line-height: 1.3;
}
.card-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.adv-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.adv-list li {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.adv-list li:first-child { border-top: 0; }
.adv-list em {
    flex: 0 0 36px;
    font-style: normal;
    font-size: 15px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.4;
}
.adv-list strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    color: var(--navy);
}
.adv-list span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.feed {
    margin: 0;
    padding: 0;
    list-style: none;
}
.feed li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.feed li:first-child { border-top: 0; }
.feed-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.feed-phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}
.feed-meta {
    color: var(--muted);
    font-size: 13px;
}
.feed-ago {
    flex-shrink: 0;
    color: #8a97a8;
    font-size: 13px;
}
.feed-empty {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.page-center {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.hero { padding: 8px 0 8px; }
.kicker {
    display: inline-block;
    margin: 0 0 18px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #e8eefc;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}
.discount {
    margin: 0;
    font-size: 96px;
    line-height: .9;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -3px;
}
.discount span {
    font-size: 34px;
    letter-spacing: 0;
    margin-left: 4px;
    font-weight: 700;
}
.lead {
    margin: 20px 0 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}
.promise {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}
.promise li {
    position: relative;
    padding: 0 12px;
}
.promise li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b4c0d0;
    transform: translateY(-50%);
}
.sub {
    margin: 16px 0 0;
    color: #8a97a8;
    font-size: 14px;
}

.claim-box {
    margin-top: auto;
    padding-top: 28px;
    text-align: left;
    border-top: 1px solid var(--line);
}
.claim-box h1 {
    margin: 0 0 20px;
    font-size: 22px;
    color: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-light { background: var(--navy); color: #fff; }
.btn-ghost { background: #eef3fb; color: var(--blue); }
.btn-block { width: 100%; height: 52px; font-size: 17px; margin-top: 16px; }

label { display: block; font-weight: 700; margin-bottom: 10px; }
input {
    width: 100%;
    height: 52px;
    border: 1px solid #c5d0df;
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
    font-size: 16px;
}
input:focus { outline: 2px solid #c9d8f6; border-color: var(--blue); }

.result { padding: 14px 16px; margin-bottom: 16px; border-radius: 8px; }
.result.success { background: #e8f7ef; color: var(--ok); }
.result.error { background: #fdeeee; color: var(--err); }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.mask {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 58, .48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 50;
}
.mask[hidden] { display: none; }
.modal {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(11, 31, 58, .18);
    animation: modal-in .22s ease;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f3f6fb;
    font-size: 20px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}
.modal-close:hover { background: #e7edf6; color: var(--text); }
.modal-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e8f7ef;
    color: var(--ok);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}
.modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}
.modal-label {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.coupon {
    margin: 10px 0 12px;
    padding: 18px 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px dashed #b7c8e4;
    border-radius: 10px;
}
.coupon-code {
    display: block;
    font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.25;
    color: var(--navy);
    user-select: all;
    word-break: break-all;
}
.modal-tip {
    margin: 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}
.modal-meta {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}
.modal-actions .btn-block {
    margin-top: 0;
    height: 46px;
}
.btn-outline {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--line);
}
.btn-outline:hover { background: #f6f8fc; }

.review { min-height: 0; }
.review-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.review-head .kicker { margin-bottom: 12px; }
.review-head h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.35;
    color: var(--navy);
}
.review-head p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}
.review-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}
.review-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.review-metrics article {
    padding: 22px 20px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: left;
}
.review-metrics span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}
.review-metrics strong {
    display: block;
    margin: 10px 0 8px;
    font-size: 20px;
    color: var(--navy);
    line-height: 1.3;
}
.review-metrics p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.review-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1180px) {
    .page {
        width: min(720px, calc(100% - 32px));
        gap: 20px;
        padding: 28px 0 40px;
    }
    .cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card { min-height: 0; padding: 28px 24px; }
    .page-center { order: -1; }
    .wrap { width: min(720px, calc(100% - 32px)); }
    .review-head { flex-direction: column; align-items: flex-start; }
    .review-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .discount { font-size: 76px; }
    .logo img { height: 28px; }
    .brands { gap: 8px; }
    .brands-x { font-size: 14px; }
    .page, .wrap { width: calc(100% - 24px); }
    .card { padding: 24px 18px; }
    .review-metrics { grid-template-columns: 1fr; }
    .review-head h2 { font-size: 20px; }
    .top-link { display: none; }
}
