/* 基本重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: #fff9f0;
    color: #1e1b18
}

.container {
    /* 使页面成为列布局，确保 footer 可推到页面底部 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 20px 32px;
}

.hero {
    text-align: center;
    margin-bottom: 18px
}

.hero-image {
    height: 220px;
    background: #fdeecd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px dashed #f0d6b2;
    color: #8a6b3a
}

.lead {
    color: #1b1b1b;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto 18px;
    max-width: 610px
}

.section-title {
    text-align: center;
    margin: 8px 0 12px;
    font-weight: 600
}

.cards {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px
}

.card {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.04)
}

.card .card-title {
    font-weight: 700;
    margin-bottom: 6px
}

.card .card-title small {
    display: block;
    font-weight: 400;
    color: #777;
    margin-top: 4px
}

.price {
    font-size: 28px;
    font-weight: 700;
    margin: 12px 0
}

.card-left {
    text-align: left
}

.card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px
}

.card-sub {
    color: #777;
    font-size: 13px;
    margin-top: 6px
}

.select-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d7d7d7
}

.card.selected .select-circle {
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(255, 210, 77, 0.12);
    background: #ffd24d
}

.selected-pill {
    background: #ffd24d;
    color: #1b1b1b;
    padding: 6px 10px;
    border-radius: 16px;
    font-weight: 700
}

.btn {
    padding: 10px 18px;
    border-radius: 22px;
    border: 1px solid #d7d7d7;
    background: #fff;
    cursor: pointer
}

.btn:active {
    transform: translateY(1px)
}

.card.selected {
    border: 2px solid #ffd24d;
    box-shadow: 0 10px 18px rgba(255, 210, 77, 0.12)
}

.card .badge {
    position: absolute;
    top: -12px;
    right: 12px;
    background: #ffd24d;
    color: #222;
    padding: 6px 8px;
    border-radius: 50%
}

.selected-btn {
    background: #ffd24d;
    border: none;
    padding: 10px 20px;
    border-radius: 22px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* 视觉增强：轻微提高对比与饱和度，并在支持的浏览器上应用 SVG 锐化滤镜 */
/* restore phone-section and footer styles (top-level) */
.phone-section {
    margin: 18px 0;
    text-align: center
}

.muted {
    color: #6b6b6b;
    font-size: 14px;
    margin-bottom: 8px
}

.phone-input input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px
}

.send-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: #ddd;
    color: #222;
    width: 100%;
    max-width: 520px
}

.send-btn.enabled {
    background: #e6c95b
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 18px;
    /* 将 footer 推到容器底部 */
    margin-top: auto;
}

.logo-placeholder {
    width: 72px;
    height: 36px;
    border-radius: 20px;
    border: 2px solid #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto;
    font-weight: 700
}

.small {
    font-size: 12px;
    color: #666;
    margin-top: 6px
}

/* 响应式 */
@media (max-width:720px) {
    .container {
        padding: 14px;
        margin: 8px auto
    }

    .hero-image {
        height: 160px
    }

    .lead {
        font-size: 14px;
        margin-bottom: 10px
    }

    .section-title {
        margin-top: 6px
    }

    .cards {
        flex-direction: column;
        gap: 12px
    }

    .card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        border-radius: 10px
    }

    .card .card-title {
        font-size: 15px
    }

    .card .card-title small {
        font-size: 12px
    }

    .price {
        font-size: 18px;
        font-weight: 800
    }

    .selected-pill {
        padding: 6px 10px
    }

    .hero-image span {
        font-size: 12px
    }

    .phone-input input {
        padding: 10px
    }

    .send-btn {
        padding: 12px
    }
}