.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 860px;
    background: #fff;
    border-radius: 16px;
    z-index: 9999;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    color: #999;
    text-align: center;
    line-height: 28px;
}
.popup-close:hover {
    color: #ff6600;
}
.popup-content {
    display: flex;
    align-items: stretch;
    min-height: 100%;
    padding: 40px;
}
/* 左侧区域 */
.popup-left {
    width: 420px;
    background: #fff;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.popup-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    align-self: flex-start;
}
.popup-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-title {
    font-size: 18px;
    color: #252E46;
    font-weight: 500;
    margin-right: 8px;
}
.popup-years {
    height: 60px;
}
.popup-main-img {
    width: 100%;
    max-width: 380px;
    margin: 10px 0 20px;
    display: block;
}
.popup-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.popup-features li {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}
.popup-features li img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
.popup-features li span.highlight {
    color: #ff6600;
    font-weight: bold;
}
.popup-features li span.sub-text {
    color: #919191;
    font-size: 14px;
}
/* 右侧区域 */
.popup-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.popup-form-title {
    font-size: 26px;
    color: #252E46;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    white-space: nowrap;
}
.popup-form-group {
    margin-bottom: 20px;
}
.popup-form-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}
.popup-form-label span {
    color: #ff6600;
}
.popup-form-input {
    width: 100%;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
}
.popup-form-input:focus {
    border-color: #ff6600;
}
.popup-code-row {
    display: flex;
    gap: 15px;
}
.popup-code-row .popup-form-input {
    flex: 1;
}
.popup-code-img {
    height: 38px;
    width: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}
.popup-privacy {
    display: flex;
    align-items: center;
    margin: 15px 0 20px;
    font-size: 13px;
    color: #666;
    letter-spacing: 1px;
    line-height: 14px;
}
.popup-privacy input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #999;
    border-radius: 2px;
    margin: 0 6px 0 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    align-self: center;
}
.popup-privacy input[type="checkbox"]:checked {
    background-color: transparent;
    border-color: transparent;
    background-image: url('/uploads/liuzi_pic/duihao.png');
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
}
.popup-privacy input[type="checkbox"]:checked::after {
    content: '';
}
.popup-privacy label {
    cursor: pointer;
    line-height: 1;
}
.popup-privacy a {
    color: #ff6600;
    text-decoration: none;
}
.popup-submit {
    width: 100%;
    height: 50px;
    background: #ff6600;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}
.popup-submit:hover {
    background: #e65c00;
}
.emaildingyue {
    max-width: 1200px;
}
.emaildingyue ul {
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.emaildingyue li {
    margin-top: 10px;
}

/* 手机端适配 */
@media screen and (max-width: 768px) {
    .popup-container {
        width: 90%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .popup-left {
        display: none;
    }
    .popup-right {
        padding: 30px 25px;
    }
    .popup-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .popup-form-group {
        margin-bottom: 15px;
    }
    .popup-form-input {
        height: 42px;
    }
    .popup-code-img {
        height: 42px;
        width: 100px;
    }
    .popup-submit {
        height: 46px;
        font-size: 16px;
    }
    .popup-close {
        top: 10px;
        right: 10px;
        font-size: 20px;
    }
}
