:root {
    --brand-blue: #1890ff;
    --brand-blue-light: #40a9ff;
    --brand-gradient: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    --gray-light: #f5f7fa;
    --gray-medium: #e8e8e8;
    --text-primary: #333333;
    --text-secondary: #666666;
}

@keyframes wave {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(0) rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #ffffff 0%, var(--gray-light) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150%;
    height: 150%;
    border-radius: 38% 42%;
    border: 2px solid rgba(24, 144, 255, 0.1);
    animation: wave 20s infinite linear;
}

.wave1 {
    border-color: rgba(24, 144, 255, 0.1);
}

.wave2 {
    border-color: rgba(24, 144, 255, 0.05);
    animation-duration: 25s;
    animation-direction: reverse;
}

.wave3 {
    border-color: rgba(24, 144, 255, 0.08);
    animation-duration: 30s;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 144, 255, 0.1) 0%, rgba(9, 109, 217, 0.05) 100%);
    animation: float 6s infinite ease-in-out;
}

.circle1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: -1s;
}

.circle2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -2s;
}

.circle3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 20%;
    animation-delay: -3s;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(24, 144, 255, 0.15);
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
}

label i {
    color: var(--brand-blue);
    margin-right: 8px;
    width: 16px;
    font-size: 16px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-medium);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.06);
}

input:focus {
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
    background: #fff;
}

.help-links {
    margin-top: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.help-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.help-links a i {
    margin-right: 4px;
    font-size: 14px;
}

.help-links a:hover {
    color: var(--brand-blue);
}

.divider {
    width: 1px;
    height: 12px;
    background: var(--gray-medium);
    margin: 0 10px;
}

.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
    backdrop-filter: blur(5px);
}

.tag:hover {
    background: white;
    border-color: var(--brand-blue-light);
    color: var(--brand-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

button {
    background: var(--brand-gradient);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.25);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

button:hover::before {
    transform: translateX(100%);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.35);
}

.footer {
    margin-top: auto;
    width: 100%;
    padding: 20px;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-divider {
    width: 1px;
    height: 12px;
    background: var(--gray-medium);
    margin: 0 10px;
}

.footer a {
    color: var(--brand-blue);
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 90%;
    width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.step-list {
    margin: 20px 0;
    padding-left: 20px;
}

.step-item {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

#priceInfo {
    margin-top: 10px;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
        margin: 10px;
    }
    
    .quick-tags {
        gap: 8px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    h1 {
        font-size: 20px;
    }
}

.modal button {
    margin-top: 15px;
    padding: 8px 20px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal button:hover {
    background: var(--brand-blue-light);
}

/* 客服咨询弹窗样式优化 */
#serviceInfoModal {
    text-align: center;
}

#serviceInfoModal .fas {
    color: var(--brand-blue);
    margin-right: 8px;
}

#serviceInfoModal p {
    margin: 10px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

#serviceInfoModal img {
    transition: transform 0.3s ease;
    border: 1px solid var(--gray-medium);
    padding: 5px;
    background: white;
    border-radius: 5px;
}

#serviceInfoModal img:hover {
    transform: scale(1.05);
}