/* 联系我们页面样式 - Fengvi Tools */

/* 页面导航 */
.page-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    background: #1a73e8;
    color: white;
    border-bottom: 1px solid #0d62d9;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.nav-back {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.nav-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-title-section {
    text-align: center;
    margin-bottom: 0;
}

.page-nav h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.header-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

/* 页面内容 */
.page-content {
    padding: 40px 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 简介 */
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* 联系方式卡片 */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-method-card {
    background: #f8f9fa;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.12);
}

.method-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-method-card h2 {
    color: #1a73e8;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-method-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 15px;
}

.method-value {
    display: inline-block;
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    border-bottom: 1px dashed #1a73e8;
}

.method-value:hover {
    color: #0d62d9;
}

/* 联系表单 */
.contact-form-section {
    margin-bottom: 50px;
}

.contact-form-section h2 {
    color: #1a73e8;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 10px;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eaeaea;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

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

.submit-btn {
    display: inline-block;
    background: #1a73e8;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #0d62d9;
    transform: translateY(-2px);
}

.form-note {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* 响应时间 */
.response-section {
    margin-bottom: 50px;
}

.response-section h2 {
    color: #1a73e8;
    font-size: 24px;
    margin-bottom: 15px;
}

.response-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* FAQ */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    color: #1a73e8;
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* 页脚 */
.page-footer {
    background: #f8f9fa;
    padding: 25px;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.footer-content p {
    margin-bottom: 10px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: calc(20px + env(safe-area-inset-top)) 15px;
    }
    .page-nav h1 {
        overflow-wrap: anywhere;
    }
    
    .page-content {
        padding: 20px 15px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .contact-form-section h2,
    .faq-section h2 {
        font-size: 24px;
    }
}

/* 打印样式 */
@media print {
    .page-nav,
    .page-footer {
        display: none;
    }
    
    .page-content {
        padding: 0;
        max-width: none;
    }
}
