.yp-chat-widget {
position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 560px;
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    animation: ypSlideIn 0.3s ease;
}

}

.yp-chat-header {
background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    flex-shrink: 0;
}

.yp-chat-title {
display: flex;
    align-items: center;
    gap: 10px;
}

.yp-chat-avatar {
width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08s5.97 1.09 6 3.08c-1.29 1.94-3.5 3.22-6 3.22z"/></svg>') center/24px no-repeat;
    flex-shrink: 0;
}

.yp-chat-info {
display: flex;
    flex-direction: column;
}

.yp-chat-name {
color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.yp-chat-status {
color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    display: flex;
    align-items: center;
}

.yp-chat-status::before {
content: '';
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.yp-chat-controls {
display: flex;
    gap: 4px;
    align-items: center;
}

.yp-chat-minimize,

.yp-chat-close {
color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    line-height: 1;
    user-select: none;
}

.yp-chat-minimize:hover,

.yp-chat-close:hover {
background: rgba(255, 255, 255, 0.2);
}

.yp-chat-minimize {
font-size: 18px;
}

.yp-chat-body {
display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.yp-chat-messages {
flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 14px;
    background: #f5f7fa;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.yp-chat-messages::-webkit-scrollbar {
width: 6px;
}

.yp-chat-messages::-webkit-scrollbar-track {
background: transparent;
}

.yp-chat-messages::-webkit-scrollbar-thumb {
background: #c0c4cc;
    border-radius: 3px;
}

.yp-chat-messages::-webkit-scrollbar-thumb:hover {
background: #909399;
}

.yp-msg {
margin-bottom: 12px;
    display: flex;
    animation: ypMsgFadeIn 0.3s ease;
}

}

.yp-msg-bot {
justify-content: flex-start;
}

.yp-msg-user {
justify-content: flex-end;
}

.yp-msg-bubble {
max-width: 78%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}

.yp-msg-bot .yp-msg-bubble {
background: #fff;
    color: #333;
    border: 1px solid #e8eaed;
    border-bottom-left-radius: 4px;
}

.yp-msg-user .yp-msg-bubble {
background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.yp-typing-indicator .yp-msg-bubble {
padding: 14px 16px;
}

.yp-typing-dot {
display: inline-block;
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    margin: 0 2px;
    animation: ypTypingBounce 1.4s infinite ease-in-out;
}

.yp-typing-dot:nth-child(2) {
animation-delay: 0.2s;
}

.yp-typing-dot:nth-child(3) {
animation-delay: 0.4s;
}

}

.yp-chat-quick {
padding: 8px 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: #f5f7fa;
    border-top: 1px solid #e8eaed;
    flex-shrink: 0;
}

.yp-quick-btn {
padding: 7px 14px;
    background: #fff;
    border: 1px solid #e53935;
    color: #e53935;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.yp-quick-btn:hover {
background: #e53935;
    color: #fff;
}

.yp-quick-btn:active {
transform: scale(0.95);
}

.yp-chat-input-area {
padding: 10px 14px;
    display: flex;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e8eaed;
    flex-shrink: 0;
}

.yp-chat-input {
flex: 1;
    padding: 10px 14px;
    border: 1px solid #dadce0;
    border-radius: 22px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    resize: none;
    pointer-events: auto;
    -webkit-user-modify: read-write-plaintext-only;
    -webkit-user-select: text;
    user-select: text;
    min-height: 20px;
    max-height: 80px;
    line-height: 20px;
}

.yp-chat-input:focus {
border-color: #e53935;
}

.yp-chat-send {
padding: 10px 18px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    flex-shrink: 0;
}

.yp-chat-send:hover {
opacity: 0.9;
}

.yp-chat-send:active {
transform: scale(0.96);
}

.yp-chat-bubble {
position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    border-radius: 50%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
    z-index: 99999;
    transition: transform 0.2s;
    animation: ypBubblePulse 2s infinite;
}

.yp-chat-bubble:hover {
transform: scale(1.1);
}

}

.yp-bubble-icon {
font-size: 24px;
    line-height: 1;
}

.yp-bubble-text {
font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

@media (max-width: 768px) {
.yp-chat-widget {
bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
}

.yp-chat-bubble {
width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
}

.yp-bubble-icon {
font-size: 22px;
}

.yp-bubble-text {
display: none;
}
}

.yp-lead-modal {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.yp-lead-modal-overlay {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.yp-lead-modal-content {
position: relative;
    width: 420px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: ypLeadModalIn 0.3s ease;
    overflow: hidden;
}

}

.yp-lead-modal-header {
padding: 18px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.yp-lead-modal-title {
margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.yp-lead-modal-close {
width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    user-select: none;
}

.yp-lead-modal-close:hover {
background: #f5f5f5;
    color: #666;
}

.yp-lead-modal-body {
padding: 20px;
}

.yp-lead-modal-desc {
margin: 0 0 18px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.yp-lead-form-group {
margin-bottom: 16px;
}

.yp-lead-label {
display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.yp-lead-required {
color: #e53935;
}

.yp-lead-input {
width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.yp-lead-input:focus {
border-color: #e53935;
}

.yp-lead-form-error {
color: #e53935;
    font-size: 13px;
    min-height: 20px;
    margin-bottom: 12px;
}

.yp-lead-submit {
width: 100%;
    padding: 13px 0;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.yp-lead-submit:hover {
opacity: 0.9;
}

.yp-lead-submit:active {
transform: scale(0.99);
}

.yp-lead-submit:disabled {
opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
.yp-lead-modal-content,

    .yp-contact-modal-content {
width: 100%;
        max-width: calc(100% - 24px);
        margin: 12px;
}
}

.yp-contact-modal {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100001;
}

.yp-contact-modal-overlay {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.yp-contact-modal-content {
position: relative;
    width: 420px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: ypContactModalIn 0.3s ease;
    overflow: hidden;
}

}

.yp-contact-modal-header {
padding: 18px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.yp-contact-modal-title {
margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.yp-contact-modal-close {
width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    user-select: none;
}

.yp-contact-modal-close:hover {
background: #f5f5f5;
    color: #666;
}

.yp-contact-modal-body {
padding: 20px;
}

.yp-contact-modal-desc {
margin: 0 0 18px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.yp-contact-form-group {
margin-bottom: 16px;
}

.yp-contact-label {
display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.yp-contact-required {
color: #e53935;
}

.yp-contact-input,

.yp-contact-textarea {
width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.yp-contact-textarea {
resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.yp-contact-input:focus,

.yp-contact-textarea:focus {
border-color: #e53935;
}

.yp-contact-form-error {
color: #e53935;
    font-size: 13px;
    min-height: 20px;
    margin-bottom: 12px;
}

.yp-contact-submit {
width: 100%;
    padding: 13px 0;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.yp-contact-submit:hover {
opacity: 0.9;
}

.yp-contact-submit:active {
transform: scale(0.99);
}

.yp-contact-submit:disabled {
opacity: 0.6;
    cursor: not-allowed;
}

.yp-float-ball {
position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-35%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99998;
    padding: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.yp-float-item {
width: 64px;
    min-height: 64px;
    background: #fff;
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    padding: 8px 4px;
    box-sizing: border-box;
}

.yp-float-item:hover {
background: #fff8f8;
    box-shadow: -2px 6px 18px rgba(229, 57, 53, 0.22);
    transform: translateX(-4px);
}

.yp-float-item svg {
width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.yp-float-item svg path,

.yp-float-item svg circle,

.yp-float-item svg rect,

.yp-float-item svg line {
stroke: #333;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yp-float-item-contact {
background: linear-gradient(135deg, #4caf50 0%, #ff9800 100%);
    cursor: pointer;
}

.yp-float-item-contact:hover {
background: linear-gradient(135deg, #43a047 0%, #f57c00 100%);
}

.yp-float-item-contact svg path,

.yp-float-item-contact svg circle,

.yp-float-item-contact svg rect,

.yp-float-item-contact svg line {
stroke: #fff;
}

.yp-float-item-label {
font-size: 11px;
    color: #fff;
    margin-top: 4px;
    line-height: 1;
    text-align: center;
    font-weight: 500;
}

.yp-float-tooltip {
position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    white-space: nowrap;
    display: none;
    z-index: 2;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    pointer-events: none;
}

.yp-float-tooltip::after {
content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.yp-float-item:hover .yp-float-tooltip {
display: block;
    animation: ypTooltipFadeIn 0.2s ease;
}

}

.yp-float-tooltip-qr {
padding: 12px;
    text-align: center;
    white-space: normal;
}

.yp-float-tooltip-qr img {
width: 140px;
    height: 140px;
    display: block;
    border-radius: 6px;
}

.yp-float-tooltip-qr span {
display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.yp-float-item-hotline {
cursor: default;
}

.yp-float-item-hotline:hover {
background: #fff8f8;
}

@media (max-width: 768px) {
.yp-float-ball {
transform: translateY(-25%);
        gap: 8px;
}

.yp-float-item {
width: 54px;
        min-height: 54px;
        padding: 6px 3px;
        border-radius: 10px 0 0 10px;
}

.yp-float-item svg {
width: 22px;
        height: 22px;
}

.yp-float-item-label {
font-size: 9px;
}

.yp-float-tooltip {
right: 64px;
        padding: 10px 12px;
        font-size: 13px;
}

.yp-float-tooltip-qr img {
width: 120px;
        height: 120px;
}
}

.yp-bottom-form-section {
width: 100% !important;
    height: auto !important;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%) !important;
    padding: 70px 0 80px !important;
    overflow: visible !important;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.yp-bottom-form-section .c {
float: none !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.yp-bottom-form-wrapper {
display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yp-bottom-form-header {
text-align: center;
    margin-bottom: 40px;
}

.yp-bottom-form-header h2 {
font-size: 38px;
    color: #fff;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.yp-bottom-form-header p {
font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

.yp-bottom-form {
width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.yp-bottom-form-group {
margin-bottom: 20px;
}

.yp-bottom-form-label {
display: block;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
}

.yp-bottom-form-input,

.yp-bottom-form-select {
width: 100%;
    height: 52px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.yp-bottom-form-input::placeholder {
color: #aaa;
}

.yp-bottom-form-input:focus,

.yp-bottom-form-select:focus {
border-color: #e8892a;
    box-shadow: 0 0 0 3px rgba(232, 137, 42, 0.12);
}

.yp-bottom-select-wrapper {
position: relative;
}

.yp-bottom-select-wrapper::after {
content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #999;
    pointer-events: none;
}

.yp-bottom-form-select {
cursor: pointer;
    padding-right: 40px;
}

.yp-bottom-form-select option {
color: #333;
    padding: 8px;
}

.yp-bottom-submit {
width: 100%;
    height: 54px;
    margin-top: 8px;
    background: linear-gradient(135deg, #e8892a 0%, #d6751f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 1px;
}

.yp-bottom-submit:hover {
background: linear-gradient(135deg, #f09535 0%, #e08028 100%);
    box-shadow: 0 6px 20px rgba(232, 137, 42, 0.35);
    transform: translateY(-1px);
}

.yp-bottom-submit:active {
transform: translateY(0);
}

.yp-bottom-submit:disabled {
opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.yp-bottom-form-error {
color: #e53935;
    font-size: 14px;
    min-height: 22px;
    margin-top: 12px;
    text-align: center;
}

.yp-bottom-form-note {
text-align: center;
    font-size: 13px;
    color: #999;
    margin: 16px 0 0 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
.yp-bottom-form-section {
padding: 45px 0 55px !important;
}

.yp-bottom-form-header h2 {
font-size: 26px;
}

.yp-bottom-form-header p {
font-size: 15px;
}

.yp-bottom-form {
padding: 26px 20px 24px;
        border-radius: 12px;
}

.yp-bottom-form-input,

    .yp-bottom-form-select {
height: 48px;
        font-size: 14px;
}

.yp-bottom-submit {
height: 50px;
        font-size: 16px;
}
}

.yp-product-cta-section {
background: #0d1b2a;
    padding: 70px 0 60px;
    text-align: center;
    color: #fff;
}

.yp-product-cta-section .c {
width: 1200px;
    margin: 0 auto;
}

.yp-product-cta-section h2 {
font-size: 36px;
    font-weight: 600;
    margin: 0 0 18px;
    color: #fff;
}

.yp-product-cta-section p {
font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 35px;
}

.yp-product-cta-btn {
display: inline-block;
    padding: 16px 50px;
    background: linear-gradient(135deg, #e8892a 0%, #d6751f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
    font-family: inherit;
}

.yp-product-cta-btn:hover {
background: linear-gradient(135deg, #f09535 0%, #e08028 100%);
    box-shadow: 0 6px 20px rgba(232, 137, 42, 0.35);
    transform: translateY(-1px);
}

.yp-product-cta-btn:active {
transform: translateY(0);
}

.yp-product-cta-phone {
margin-top: 22px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

.yp-solution-modal {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000001;
    display: none;
    align-items: center;
    justify-content: center;
}

.yp-solution-modal-overlay {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.yp-solution-modal-content {
position: relative;
    background: #fff;
    border-radius: 16px;
    width: 420px;
    max-width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.yp-solution-modal-header {
background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.yp-solution-modal-title {
margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.yp-solution-modal-close {
color: rgba(255, 255, 255, 0.7);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.yp-solution-modal-close:hover {
color: #fff;
}

.yp-solution-modal-body {
padding: 28px 30px 32px;
}

.yp-solution-modal-desc {
color: #666;
    font-size: 14px;
    margin: 0 0 22px;
    text-align: center;
}

.yp-solution-form-group {
margin-bottom: 18px;
}

.yp-solution-label {
display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.yp-solution-required {
color: #e53935;
}

.yp-solution-input,

.yp-solution-select {
width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

.yp-solution-input:focus,

.yp-solution-select:focus {
border-color: #e8892a;
    box-shadow: 0 0 0 3px rgba(232, 137, 42, 0.15);
}

.yp-solution-select {
appearance: auto;
    -webkit-appearance: menulist;
}

.yp-solution-select option {
color: #333;
}

.yp-solution-submit {
width: 100%;
    height: 50px;
    margin-top: 8px;
    background: linear-gradient(135deg, #e8892a 0%, #d6751f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.yp-solution-submit:hover {
background: linear-gradient(135deg, #f09535 0%, #e08028 100%);
    box-shadow: 0 6px 20px rgba(232, 137, 42, 0.35);
}

.yp-solution-submit:disabled {
opacity: 0.65;
    cursor: not-allowed;
}

.yp-solution-form-error {
color: #e53935;
    font-size: 14px;
    min-height: 22px;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
.yp-product-cta-section {
padding: 50px 20px 45px;
}

.yp-product-cta-section .c {
width: 100%;
}

.yp-product-cta-section h2 {
font-size: 26px;
}

.yp-product-cta-section p {
font-size: 15px;
}

.yp-product-cta-btn {
padding: 14px 36px;
        font-size: 16px;
}

.yp-product-cta-phone {
font-size: 17px;
}

.yp-solution-modal-content {
width: 92%;
}

.yp-solution-modal-body {
padding: 24px 22px 28px;
}
}

.yp-welcome-modal {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000002;
    display: none;
    align-items: center;
    justify-content: center;
}

.yp-welcome-modal-overlay {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.yp-welcome-modal-content {
position: relative;
    width: 540px;
    max-width: 94%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: ypWelcomeFadeIn 0.3s ease;
}

}

.yp-welcome-close {
position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    line-height: 1;
}

.yp-welcome-close:hover {
background: rgba(255, 255, 255, 0.6);
}

.yp-welcome-top {
background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.yp-welcome-brand {
font-size: 14px;
    font-weight: 700;
}

.yp-welcome-tagline {
font-size: 12px;
    opacity: 0.9;
}

.yp-welcome-main {
display: flex;
    gap: 0;
}

.yp-welcome-left {
flex: 1;
    padding: 16px 18px;
    border-right: 1px solid #f1f5f9;
}

.yp-welcome-left h3 {
font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.yp-welcome-tags {
display: flex;
    flex-direction: column;
    gap: 8px;
}

.yp-welcome-tag {
background: #f1f5f9;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
}

.yp-welcome-tag strong {
font-weight: 700;
}

.yp-welcome-tag-blue {
border-left: 3px solid #2563eb;
}

.yp-welcome-tag-amber {
border-left: 3px solid #f59e0b;
}

.yp-welcome-tag-green {
border-left: 3px solid #059669;
}

.yp-welcome-tag-purple {
border-left: 3px solid #7c3aed;
}

.yp-welcome-right {
width: 205px;
    min-width: 160px;
    padding: 14px 12px;
    text-align: center;
    background: #fafbfc;
}

.yp-welcome-phone {
margin-bottom: 10px;
}

.yp-welcome-number {
font-size: 20px;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
    background: #fef2f2;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 6px;
    white-space: nowrap;
}

.yp-welcome-qr-row {
display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 8px;
}

.yp-welcome-qr {
text-align: center;
}

.yp-welcome-qr img {
width: 84px;
    height: 84px;
    display: block;
    margin: 0 auto 3px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.yp-welcome-qr span {
font-size: 11px;
    color: #4a5568;
    line-height: 1.3;
}

.yp-welcome-chat-note {
font-size: 12px;
    color: #c62828;
    background: #fef2f2;
    border-radius: 5px;
    padding: 6px 8px;
    margin-top: 4px;
}

.yp-welcome-chat-note strong {
font-weight: 700;
}

@media (max-width: 768px) {
.yp-welcome-modal-content {
width: 94%;
        max-width: 94%;
}

.yp-welcome-main {
flex-direction: column;
}

.yp-welcome-left {
border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 14px 16px;
}

.yp-welcome-right {
width: 100%;
        padding: 14px 16px;
}

.yp-welcome-qr img {
width: 80px;
        height: 80px;
}

.yp-welcome-tag {
font-size: 11px;
        padding: 4px 8px;
}

.yp-welcome-brand {
font-size: 13px;
}

.yp-welcome-tagline {
font-size: 11px;
}
}

/* ========== 补充：浮动球「获取资料」「公众号」项品牌配色 ========== */
.yp-float-item-doc { background: #ffffff; }
.yp-float-item-doc:hover { background: #f0f6ff; }
.yp-float-item-doc svg path,
.yp-float-item-doc svg rect,
.yp-float-item-doc svg line { stroke: #1a4b8c; }
.yp-float-item-qr { background: #ffffff; }
.yp-float-item-qr:hover { background: #eefaf8; }
.yp-float-item-qr svg path,
.yp-float-item-qr svg circle { stroke: #0a8a7d; }

/* ========== SEO 落地页文末行动区 ========== */
.yp-seo-cta {
    max-width: 820px;
    margin: 36px auto 0;
    padding: 28px 32px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b3b5f 100%);
    border-radius: 14px;
    box-sizing: border-box;
}
.yp-seo-cta-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
}
.yp-seo-cta-desc {
    margin: 0 0 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}
.yp-seo-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.yp-seo-cta-btn {
    display: inline-block;
    padding: 13px 30px;
    background: #e53935;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.yp-seo-cta-btn:hover { background: #c62828; transform: translateY(-1px); }
.yp-seo-cta-btn-second {
    display: inline-block;
    padding: 13px 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.yp-seo-cta-btn-second:hover { background: rgba(255, 255, 255, 0.18); }
.yp-seo-cta-note {
    margin: 16px 0 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .yp-seo-cta { margin: 28px 12px 0; padding: 22px 20px; }
    .yp-seo-cta-title { font-size: 17px; }
    .yp-seo-cta-actions { flex-direction: column; align-items: stretch; }
    .yp-seo-cta-btn, .yp-seo-cta-btn-second { text-align: center; }
}

/* ========== 移动端聊天窗高度修正（避免全屏遮挡正文） ========== */
@media (max-width: 768px) {
    .yp-chat-widget {
        bottom: 16px !important;
        right: 0 !important;
        width: calc(100% - 14px) !important;
        max-width: calc(100% - 14px) !important;
        height: 58vh !important;
        max-height: 520px !important;
        border-radius: 14px 0 0 14px !important;
    }
}
