/* 1. 基础容器与文字样式 */
.lp-footer-subscribe {
    width: 100%;
    padding: 80px 20px;
    background: #f8f9fb;
    display: flex;
    justify-content: center;
}
.subscribe-container { max-width: 800px; width: 100%; text-align: center; }
.sub-title { font-family: 'Montserrat', sans-serif; font-size: 32px; color: #1a1d23; margin-bottom: 15px; font-weight: 700; }
.sub-desc { font-family: 'Roboto', sans-serif; color: #64748b; margin-bottom: 40px; font-size: 16px; }

/* 2. 核心：强力修改 WPForms 内部结构 */
.wpforms-custom-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

/* 隐藏 WPForms 默认的标签(Label) */
.wpforms-custom-wrapper .wpforms-field-label {
    display: none !important;
}

/* 强制实现胶囊布局 */
.wpforms-custom-wrapper .wpforms-container form {
    display: flex !important;
    background: #ffffff !important;
    padding: 8px !important;
    border-radius: 100px !important;
    border: 1px solid rgba(0, 98, 255, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 98, 255, 0.08) !important;
    transition: all 0.3s ease !important;
}

.wpforms-custom-wrapper .wpforms-container form:focus-within {
    border-color: #0062ff !important;
    box-shadow: 0 20px 40px rgba(0, 98, 255, 0.15) !important;
}

/* 输入框 field 容器 */
.wpforms-custom-wrapper .wpforms-field-container {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpforms-custom-wrapper .wpforms-field {
    padding: 0 !important;
    margin: 0 !important;
}

/* 真正的 input 输入框 */
.wpforms-custom-wrapper input[type="email"] {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    height: 55px !important;
    padding: 0 30px !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 提交按钮：注入科技渐变蓝 */
.wpforms-custom-wrapper .wpforms-submit-container {
    padding: 0 !important;
    margin: 0 !important;
}

.wpforms-custom-wrapper button.wpforms-submit {
    background: linear-gradient(135deg, #0062ff 0%, #00d4ff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 40px !important;
    height: 55px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin: 0 !important;
}

.wpforms-custom-wrapper button.wpforms-submit:hover {
    transform: scale(1.05) translateX(5px) !important;
    box-shadow: 0 10px 20px rgba(0, 98, 255, 0.3) !important;
}

/* 移动端适配 */
@media (max-width: 650px) {
    .wpforms-custom-wrapper .wpforms-container form {
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .wpforms-custom-wrapper input[type="email"] {
        background: #ffffff !important;
        border-radius: 30px !important;
        border: 1px solid #ddd !important;
        margin-bottom: 15px !important;
    }
    .wpforms-custom-wrapper button.wpforms-submit {
        width: 100% !important;
    }
}