/* ========================================
   子页面专用样式 - Pages Style
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    background-attachment: fixed;
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
}

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

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    color: #1a4d8f;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    margin-right: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1a4d8f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #0f3560;
    transform: translateY(-1px);
}

/* Page Hero Section */
.page-hero {
    background: #ffffff;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e8ecef;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a4d8f;
}

.page-hero p {
    font-size: 16px;
    color: #5d6d7e;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    position: relative;
}

/* Section Title */
.section-title {
    font-size: 32px;
    color: #1a4d8f;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: #5d6d7e;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Feature Cards Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 77, 143, 0.15);
    border-color: #1a4d8f;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #1a4d8f;
}

.feature-card h3 {
    color: #1a4d8f;
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #5d6d7e;
    font-size: 14px;
    line-height: 1.7;
}

/* Service List */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-item:hover {
    transform: translateX(10px);
    border-color: #1a4d8f;
    box-shadow: 0 10px 30px rgba(26, 77, 143, 0.15);
}

.service-number {
    width: 50px;
    height: 50px;
    background: #1a4d8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.service-content h3 {
    color: #1a4d8f;
    font-size: 18px;
    margin-bottom: 10px;
}

.service-content p {
    color: #5d6d7e;
    font-size: 14px;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1a4d8f;
}

.process-step {
    position: relative;
    padding-left: 70px;
    padding-bottom: 40px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #1a4d8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.step-content {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-content h3 {
    color: #1a4d8f;
    font-size: 18px;
    margin-bottom: 10px;
}

.step-content p {
    color: #5d6d7e;
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

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

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #1a4d8f;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

.faq-answer p,
.faq-answer-content {
    padding: 0 25px 20px;
    color: #5d6d7e;
    font-size: 14px;
    line-height: 1.7;
}

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

/* About Content */
.about-content {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.about-content p {
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecef;
}

.price-table th {
    background: #1a4d8f;
    color: #fff;
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e8ecef;
    color: #2c3e50;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover td {
    background: #f5f7fa;
}

.table-note {
    padding: 15px 20px;
    color: #5d6d7e;
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: rgba(26, 77, 143, 0.05);
    border: 1px solid rgba(26, 77, 143, 0.2);
    border-radius: 8px;
    padding: 50px 30px;
    text-align: center;
    margin-top: 50px;
}

.cta-section h2 {
    color: #1a4d8f;
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-section p {
    color: #5d6d7e;
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a4d8f;
    color: #fff;
    padding: 15px 35px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #0f3560;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #1e293b;
    border-top: 1px solid #e8ecef;
    padding: 40px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    display: block;
}

.footer-section a:hover {
    color: #1a4d8f;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e8ecef;
}

.footer-copyright p {
    color: #94a3b8;
    font-size: 13px;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Float Actions */
.float-actions {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-btn.wechat-btn {
    background: #07c160;
}

.float-btn.phone-btn {
    background: #ff6b35;
    animation-delay: 0.5s;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: none;
}

.float-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.float-text {
    font-size: 10px;
}

/* WeChat Popup */
.wechat-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.wechat-popup.active {
    display: flex;
}

.wechat-popup-content {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wechat-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #5d6d7e;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.wechat-popup-close:hover {
    color: #1a4d8f;
}

.wechat-popup-content h3 {
    color: #1a4d8f;
    font-size: 20px;
    margin-bottom: 10px;
}

.wechat-popup-content p {
    color: #5d6d7e;
    font-size: 14px;
    margin-bottom: 20px;
}

.wechat-qrcode {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 15px;
}

.wechat-qrcode img {
    width: 180px;
    height: 180px;
    display: block;
}

.wechat-id {
    color: #07c160;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.wechat-id:hover {
    color: #059e52;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .page-hero p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-grid,
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .price-table {
        font-size: 13px;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 10px;
    }
    
    .float-actions {
        right: 15px;
        bottom: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
}
