/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    /* background: linear-gradient(135deg, #dcf6f9 0%, #c2f1f5 100%); */
    /* border-bottom: 3px solid #5279a0; */
    padding: 10px 0 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    background: #deebfb;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 20px; */
}

.logo h2 {
    font-size: 1.8rem;
    color: #5279a0;
    font-weight: 700;
}
.logo img {
    height: 4rem;
}

header h1 {
    font-size: 2.2rem;
    /* margin-bottom: 20px; */
    color: #5279a0;
    font-weight: 700;
    text-align: center;
}

.header-content {
    text-align: center;
}

.header-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-weight: 300;
}

/* 主要内容区域 */
main {
    padding: 50px 0;
}

main h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5a5a5a;
    text-align: center;
    font-weight: 600;
}

/* 联系方式卡片 */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    border: 1px solid #f5f5f5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #5279a0, #81bdf9);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #5279a0;
    text-align: center;
    font-weight: 600;
}

.contact-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-card a {
    color: #4d9be6;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card strong {
    color: #444;
}

/* 联系表单 */
.contact-form-section {
    background: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #f5f5f5;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #5279a0;
    font-size: 1.8rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5279a0;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

button {
    background: linear-gradient(to right, #5279a0, #ff8e8e);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

button:hover {
    background: linear-gradient(to right, #ff5252, #ff7a7a);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
}

/* 页脚 */
footer {
    background-color: #fff;
    padding: 40px 0;
    margin-top: 70px;
    border-top: 1px solid #f0f0f0;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    color: #888;
}

.payment-methods span {
    padding: 8px 15px;
    border: 1px solid #eee;
    border-radius: 20px;
    background-color: #fafafa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 15px 0 40px 0;
    }
    
    .header-top {
        margin-bottom: 15px;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
    
    main h2 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        min-width: 100%;
        padding: 25px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 0 30px 0;
    }
    
    .logo h2 {
        font-size: 1.3rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .contact-form-section {
        padding: 20px;
    }
    
    main {
        padding: 30px 0;
    }
    
    main h2 {
        font-size: 1.5rem;
    }
}