/* 联系我们页面样式 */

/* 联系方式概览 */
.contact-overview {
    padding: 50px 0;
    background: linear-gradient(135deg, #FFF5F0, #fff);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255,107,53,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.contact-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.card-main {
    font-size: 18px;
    color: #FF6B35;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    padding: 8px 25px;
    border: 2px solid #FF6B35;
    border-radius: 25px;
    color: #FF6B35;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background: none;
    cursor: pointer;
}

.card-btn:hover {
    background: #FF6B35;
    color: #fff;
}

/* 免费试听 */
.trial-section {
    padding: 80px 0;
    background: #fff;
}

.trial-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.trial-form {
    background: #f9f9f9;
    padding: 35px;
    border-radius: 16px;
}

.trial-benefit {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
}

.trial-benefit h4 {
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.trial-benefit ul {
    list-style: none;
    padding: 0;
}

.trial-benefit li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trial-benefit li:last-child {
    border-bottom: none;
}

.trial-benefit i {
    font-size: 18px;
}

/* 在线报名 */
.register-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.register-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.promo-banner {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.promo-item {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.promo-tag {
    display: inline-block;
    background: #FF6B35;
    color: #fff;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 8px;
}

.promo-text {
    font-size: 14px;
    color: #666;
}

.register-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.btn-submit-primary {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    font-size: 18px;
    padding: 15px 50px;
}

.form-agreement {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
}

.checkbox-label a {
    color: #FF6B35;
    text-decoration: none;
}

/* 在线咨询 */
.consult-section {
    padding: 80px 0;
    background: #fff;
}

.consult-content {
    max-width: 700px;
    margin: 0 auto;
}

.consult-form {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 16px;
}

.consult-result {
    margin-top: 25px;
    padding: 20px;
    background: #FFF5F0;
    border-radius: 12px;
}

.consult-result p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.consult-result i {
    color: #FF6B35;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #FFF5F0;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-question h4 {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.8;
    padding-left: 68px;
}

/* 地图 */
.map-section {
    padding: 80px 0;
    background: #fff;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.map-info {
    padding: 30px;
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    border-radius: 16px;
    color: #fff;
}

.map-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.map-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.map-info i {
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 30px;
    background: #fff;
    color: #FF6B35;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: #FFF5F0;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    background: #eee;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-placeholder p {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
}

/* 成功弹窗 */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 400px;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #52C41A, #73D13D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
}

.success-modal-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.success-modal-content p {
    color: #888;
    margin-bottom: 30px;
}

.btn-close {
    padding: 12px 50px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close:hover {
    background: #E55A2B;
}

/* 响应式 */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .trial-form-wrapper {
        grid-template-columns: 1fr;
    }

    .trial-benefit {
        order: -1;
    }

    .promo-banner {
        flex-direction: column;
    }

    .map-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .register-form {
        padding: 25px;
    }

    .faq-answer p {
        padding-left: 25px;
    }
}
