* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
}

body {
    /*background: linear-gradient(135deg, rgba(118, 75, 162, 0.8) 0%, rgba(102, 126, 234, 0.8) 100%), 
                url('../Statics/images/bg2.jpg') no-repeat center center fixed;*/
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.8) 0%, rgba(102, 126, 234, 0.8) 100%), 
                url('https://open.saintic.com/api/bingPic/?picSize=2') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}
a{ color:#ffffff; text-decoration: none; }
a:hover{ color:#fcfcfc; text-decoration:underline; }

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.container {
    width: 100%;
    text-align: center;
    padding: 40px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;

}

.btn span i{ font-style:unset; }

.btn-primary {
    background: linear-gradient(135deg, #764ba2, #667eea);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(102, 126, 234, 0.5);text-decoration: none;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
    padding: 20px 0;
    width: 100%;
}

/* 弹窗样式 - 浅色主题 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.modal-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.modal-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: left;
    color: #444;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.captcha-submit-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: 10px;
}

.captcha-group {
    flex: 1;
}

.captcha-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-input {
    flex: 1;
}

.captcha-img {
    height: 50px;
    width: 120px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 5px;
    user-select: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    flex-shrink: 0;
}

.captcha-img:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.submit-btn-container {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #764ba2, #667eea);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
}
.submit-btn:disabled{
    background: #c3c3c3;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(102, 126, 234, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    .btn span {display: block;}
    .btn span i{ display:none; }
    
    .modal {
        padding: 80px 20px 30px;
    }
    
    .captcha-submit-row {
        flex-direction: column;
        gap: 15px;
    }
    .captcha-group,
    .captcha-input-group {
        width: 100%;
    }

    .submit-btn-container {
        width: 100%;
    }
}
@media (max-width: 430px) {
    .container{ padding:0; }
    .btn{ border-radius:12px; }
    .submit-btn{ font-size:0.9rem; }
}

