/* ========================================
   联系我们页面样式
   特点：高性能、高视觉体验、黄色主题
   ======================================== */

/* 性能优化：启用GPU加速 */
.contact-main * {
    will-change: auto;
    contain: layout style paint;
}

/* 主容器 */
.contact-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 50%, #ffffff 100%);
}

/* ========================================
   Hero Section
   ======================================== */
.contact-hero {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #F57F17 0%, #FBC02D 50%, #FDD835 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    transform: translateZ(0);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title i {
    font-size: 2.5rem;
    margin-right: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section通用样式
   ======================================== */
.contact-section {
    padding: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section.alt-bg {
    background: rgba(255, 248, 225, 0.5);
    backdrop-filter: blur(10px);
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F57F17;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    font-size: 2.2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* ========================================
   联系方式卡片
   ======================================== */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(245, 127, 23, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    transform: translateZ(0);
    animation: fadeInScale 0.6s ease-out backwards;
}

.method-card:nth-child(1) { animation-delay: 0.1s; }
.method-card:nth-child(2) { animation-delay: 0.2s; }
.method-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.method-card:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 15px 50px rgba(245, 127, 23, 0.2);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #F57F17, #FDD835);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 6px 20px rgba(245, 127, 23, 0.3);
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.method-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.method-time {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 25px;
}

.method-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #F57F17, #FBC02D);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
    text-decoration: none;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 127, 23, 0.4);
}

/* ========================================
   工单引导区域
   ======================================== */
.guide-section {
    padding: 40px 30px;
    background: rgba(245, 127, 23, 0.05);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(245, 127, 23, 0.15);
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #FFF8E1;
}

.guide-title {
    font-size: 2rem;
    font-weight: 700;
    color: #F57F17;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-close {
    width: 40px;
    height: 40px;
    background: rgba(245, 127, 23, 0.1);
    border: none;
    border-radius: 50%;
    color: #F57F17;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-close:hover {
    background: #F57F17;
    color: white;
    transform: rotate(90deg);
}

.guide-steps {
    margin-bottom: 35px;
}

.guide-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 248, 225, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.guide-step:hover {
    background: rgba(255, 248, 225, 0.8);
    transform: translateX(5px);
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F57F17, #FBC02D);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.step-content a {
    color: #F57F17;
    font-weight: 600;
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

.guide-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.guide-btn.primary {
    background: linear-gradient(135deg, #F57F17, #FBC02D);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
}

.guide-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 127, 23, 0.4);
}

.guide-btn.secondary {
    background: white;
    color: #F57F17;
    border: 2px solid #F57F17;
}

.guide-btn.secondary:hover {
    background: rgba(245, 127, 23, 0.1);
}

/* ========================================
   FAQ样式
   ======================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F57F17;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    font-size: 1.3rem;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.08);
    animation: fadeInUp 0.5s ease-out backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }

.faq-question {
    padding: 20px 25px;
    background: linear-gradient(135deg, #FFF8E1, #FFFDE7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #FFE082, #FFD54F);
}

.faq-question i {
    color: #F57F17;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 20px 25px;
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
    border-top: 1px solid #f0f0f0;
}

.faq-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(245, 127, 23, 0.2);
}

.faq-footer p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #F57F17, #FBC02D);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 127, 23, 0.4);
}

/* ========================================
   商务合作样式
   ======================================== */
.cooperation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cooperation-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.cooperation-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.cooperation-list li {
    padding: 15px 0;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cooperation-list li i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.cooperation-contact {
    font-size: 1.1rem;
    color: #666;
    padding: 20px;
    background: rgba(255, 248, 225, 0.5);
    border-radius: 12px;
    border-left: 4px solid #F57F17;
}

.cooperation-contact a {
    color: #F57F17;
    font-weight: 600;
    text-decoration: none;
}

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

.cooperation-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #FFF8E1, #FFE082);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(245, 127, 23, 0.15);
}

.image-placeholder i {
    font-size: 5rem;
    color: #F57F17;
}

.image-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F57F17;
}

/* ========================================
   底部信息卡片
   ======================================== */
.info-section {
    background: linear-gradient(135deg, #F57F17 0%, #E65100 100%);
    padding: 60px 30px;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateZ(0);
    animation: fadeInUp 0.6s ease-out backwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

.info-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #F57F17, #FDD835);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.info-text {
    font-size: 1rem;
    color: #666;
    margin: 8px 0;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 30px 15px;
    }
    
    .contact-methods,
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .cooperation-content {
        grid-template-columns: 1fr;
    }
    
    .guide-container {
        padding: 25px 20px;
    }
    
    .guide-title {
        font-size: 1.5rem;
    }
    
    .guide-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .guide-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 性能优化：减少重绘 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

