.hp-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hp-overlay .hp-dialog {
    background: #ffffff;
    border-radius: 18px;
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
}

.hp-overlay .hp-left {
    flex: 1;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-overlay .hp-right {
    width: 45%;
    max-width: 320px;
    background: #f8fafc;
}

.hp-overlay .hp-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-logo img {
    max-height: 32px;
}

.hp-title {
    font-size: 24px;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    color: #111827;
}

.hp-subtitle {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}

.hp-body {
    font-size: 14px;
    color: #374151;
}

.hp-form {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-email-group input[type="email"] {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    font-size: 14px;
}

.hp-email-group input[type="email"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, .25);
}

.hp-cta-btn {
    border-radius: 999px;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #1d4ed8;
    cursor: pointer;
    width: 100%;
}

.hp-cta-btn:hover {
    background: #1e40af;
}

.hp-no-thanks {
    margin-top: 4px;
    background: transparent;
    border: none;
    font-size: 13px;
    color: #6b7280;
    text-decoration: underline;
    align-self: flex-start;
    padding: 0;
    cursor: pointer;
}

.hp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.hp-no-scroll {
    overflow: hidden;
}

/* 样式1 细节，可根据设计图继续微调 */
.hp-style1 .hp-dialog {
    border-radius: 18px;
}

/* 移动端：隐藏右侧图片，仅显示文字内容，减少流量 */
@media (max-width: 768px) {
    .hp-overlay .hp-dialog {
        max-width: 100%;
        flex-direction: column;
    }

    .hp-overlay .hp-right {
        display: none !important;
    }

    .hp-overlay .hp-left {
        padding: 24px 20px;
    }
}

