﻿/**
 * PC端定制开发页面样式
 *
 * @package HiTemp
 * @since 1.0.0
 */

/* ===== 页面基础 ===== */
.custom-dev-page {
    background: #f8fafc;
}

/* ===== 页面头部 ===== */
.page-hero {
    background: linear-gradient(135deg, #f66600 0%, #ff8534 50%, #ffa366 100%);
    position: relative;
    overflow: hidden;
}

.page-hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-decoration {
    position: relative;
    width: 200px;
    height: 200px;
}

.deco-circle {
    width: 180px;
    height: 180px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
}

.deco-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 12px 12px;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* ===== 通用区块标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #64748b;
}

/* ===== 通用卡片样式 ===== */
.service-card:hover,
.pricing-card:hover {
    border-color: #f66600;
    box-shadow: 0 10px 40px rgba(246, 102, 0, 0.15);
    transform: translateY(-4px);
}

/* ===== 服务项目 ===== */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 24px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    text-align: center;
}

.service-card .service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 48px;
    color: #f66600;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    padding: 6px 0;
    line-height: 1.5;
}

.service-features li i {
    color: #f66600;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ===== 开发流程 ===== */
.process-section {
    padding: 80px 0;
    background: #f8fafc;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, #f66600, #ff8534, #ffa366);
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f66600, #ff8534);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(246, 102, 0, 0.3);
}

.process-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.process-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    max-width: 140px;
}

/* ===== 服务报价 ===== */
.pricing-section {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pricing-card:hover .pricing-price .amount {
    transform: scale(1.05);
}

.pricing-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 16px;
}

.pricing-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #f66600;
    border-radius: 2px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.pricing-price .currency {
    font-size: 18px;
    font-weight: 600;
    color: #f66600;
}

.pricing-price .amount {
    font-size: 36px;
    font-weight: 700;
    color: #f66600;
    line-height: 1;
    transition: transform 0.3s ease;
}

.pricing-price .unit {
    font-size: 14px;
    color: #94a3b8;
    margin-left: 4px;
}

.pricing-desc {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-desc p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    font-size: 13px;
    color: #475569;
    padding: 8px 0;
    line-height: 1.5;
    border-bottom: 1px dashed #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== 常见问题 ===== */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.faq-question i {
    color: #94a3b8;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #f66600;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 300px;
}

.faq-answer p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .services-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-item {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .process-content {
        flex: 1;
    }
    
    .process-content p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .services-section,
    .process-section,
    .faq-section,
    .pricing-section {
        padding: 60px 0;
    }
    
    .services-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 26px;
    }
}
