/* ========================================
   详情页样式
   ======================================== */

/* 导航栏 - 与首页相同 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-p {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* 页面主内容 */
.page-main {
    padding-top: 70px;
}

/* 页面头部 */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-offwhite) 100%);
    text-align: center;
}

.page-hero .tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-offwhite);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    background: var(--bg-light);
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-color);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* 内容区域 */
.page-section {
    padding: 60px 0;
}

.page-section.bg-light {
    background: var(--bg-light);
}

.page-section.bg-white {
    background: var(--bg-white);
}

/* 特点/优势卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-offwhite);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 服务流程 */
.process-section {
    padding: 60px 0;
}

.process-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.process-item:last-child::after {
    display: none;
}

.process-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.process-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 价格方案 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
}

/* 案例展示 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-image {
    height: 250px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-offwhite));
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image i {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.5;
}

.case-content {
    padding: 25px;
}

.case-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.case-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 25px 20px;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 详情内容 */
.detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.detail-section p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-section ul {
    margin-bottom: 20px;
}

.detail-section ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: var(--text-gray);
}

.detail-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.detail-section ul li strong {
    color: var(--secondary-color);
}

.detail-highlight {
    background: var(--bg-offwhite);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.detail-highlight h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.detail-highlight p {
    margin-bottom: 0;
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), #2D2D44);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-section .btn {
    padding: 18px 50px;
    font-size: 18px;
}

/* 联系信息卡片 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text-gray);
}

.contact-card a {
    color: var(--primary-color);
}

/* 表单样式 */
.form-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    padding: 60px 0 0;
    color: white;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: var(--primary-color);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
}

.footer-contact ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    width: 18px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-item::after {
        display: none;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .features-grid,
    .pricing-grid,
    .cases-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
}
