/* 在线留言页样式 */
.message-section {
    padding: 40px 0;
}

.message-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.message-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.message-hero h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.message-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.message-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.form-tips {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 35px;
}

.form-tips h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.form-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
}

.form-tips li {
    font-size: 14px;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.form-tips li::before {
    content: "✓";
    position: absolute;
    left: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

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

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-submit {
    display: block;
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.contact-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-phone {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .message-hero h2 {
        font-size: 28px;
    }

    .message-form-card {
        padding: 30px 20px;
    }

    .contact-cta {
        padding: 40px 20px;
    }

    .cta-phone {
        font-size: 24px;
    }
}
