/* ===== 网站建设开发页面样式 ===== */

/* --- 1. Hero 区域 --- */
.wb-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
}
.wb-hero-content { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.wb-hero-text { flex: 1; max-width: 500px; }

.wb-hero-badge { display: inline-block; background: #eeebff; padding: 6px 18px; border-radius: 20px; font-size: 13px; color: #2b1ee0; margin-bottom: 20px; font-weight: 500; }
.wb-hero-title { font-size: 42px; line-height: 1.2; margin-bottom: 20px; font-weight: 700; color: #111; }
.wb-hero-desc { color: #666; margin-bottom: 25px; font-size: 15px; line-height: 1.8; }

.wb-hero-tags { display: flex; gap: 15px; flex-wrap: wrap; }
.wb-hero-tags span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #444; font-weight: 500; }
.wb-hero-tags span::before { content: '\2713'; display: inline-block; color: #2b1ee0; font-weight: bold; }

/* Hero 右侧图片 */
.wb-hero-graphic {
    flex: 1.3;
    border-radius: 16px;
    height: 280px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
}
.wb-hero-graphic img { width: 100%; height: 100%; object-fit: cover; }

/* --- 2. 自研网站开发技术栈 --- */
.wb-stack-dev { padding: 60px 0 80px; background: #fafbfc; text-align: center; }
.wb-stack-dev h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.wb-stack-dev > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.wb-stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }
.wb-st-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}
.wb-st-item:hover { transform: translateY(-4px); }
.wb-st-icon { width: 48px; height: 48px; border: 1px solid #e0e0e0; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.wb-st-icon img { width: 24px; height: 24px; }
.wb-st-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.wb-st-item p { font-size: 13px; color: #888; line-height: 1.5; }

/* --- 3. 标准化服务流程 --- */
.wb-process-dev { padding: 80px 0; background: #fafbfc; text-align: center; border-top: 1px solid #f0f0f0; }
.wb-process-dev h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.wb-process-dev > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.wb-process-dev-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.wb-pd-item { background: #fff; border-radius: 12px; padding: 30px 15px; border: 1px solid #f0f0f0; }
.wb-pd-num { width: 48px; height: 48px; background: #f8f7ff; color: #2b1ee0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 15px; }
.wb-pd-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.wb-pd-item p { font-size: 13px; color: #888; line-height: 1.4; }

/* --- 4. 优势与折叠区 --- */
.wb-value-section { padding: 80px 0; background: #fff; }
.wb-value-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 60px; align-items: center; }

.wb-stats-badge-wrap { display: flex; gap: 20px; }
.wb-stat-box { background: #f8f7ff; border-radius: 12px; padding: 20px 24px; flex: 1; text-align: center; }
.wb-stat-box .num { font-size: 32px; font-weight: 700; color: #2b1ee0; margin-bottom: 4px; display: block; }
.wb-stat-box .desc { font-size: 13px; color: #666; }

.wb-value-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.wb-value-text > p { color: #888; font-size: 14px; margin-bottom: 30px; line-height: 1.6; }

.wb-v-list { display: flex; flex-direction: column; gap: 12px; }
.wb-v-item { border: 1px solid #eee; border-radius: 8px; background: #fff; overflow: hidden; cursor: pointer; transition: border 0.3s; }
.wb-v-item:hover { border-color: #d0d0d0; }
.wb-v-question { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-weight: 500; font-size: 15px; color: #1a1a1a; }
.wb-v-icon { color: #ccc; font-size: 16px; font-weight: 300; transition: transform 0.3s; }
.wb-v-answer { padding: 0 20px 16px; font-size: 14px; color: #666; display: none; border-top: 1px solid #f0f0f0; padding-top: 12px; margin-top: 0; }
.wb-v-item.active .wb-v-answer { display: block; }
.wb-v-item.active .wb-v-icon { transform: rotate(45deg); }

/* --- 5. FAQ --- */
.wb-faq-dev { padding: 60px 0 80px; background: #fafbfc; }
.wb-faq-dev .container { max-width: 900px; text-align: center; }
.wb-faq-dev h2 { font-size: 28px; font-weight: 700; margin-bottom: 40px; }

.wb-faq-list { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.wb-faq-item { background: #fff; border-radius: 12px; padding: 20px 24px; cursor: pointer; border: 1px solid #eee; transition: all 0.3s; }
.wb-faq-item:hover { border-color: #d0d0d0; }
.wb-faq-question { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-weight: 600; font-size: 15px; color: #1a1a1a; line-height: 1.4; }
.wb-faq-icon { color: #ccc; font-size: 16px; transition: transform 0.3s; font-weight: 300; flex-shrink: 0; margin-top: 2px; }
.wb-faq-answer { margin-top: 15px; font-size: 14px; color: #666; display: none; padding-top: 15px; border-top: 1px solid #f0f0f0; line-height: 1.7; }
.wb-faq-item.active .wb-faq-answer { display: block; }
.wb-faq-item.active .wb-faq-icon { transform: rotate(45deg); }

/* --- 6. CTA 区块 --- */
.wb-cta-section { background: #2b1ee0; margin: 0 20px 60px; border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff; }
.wb-cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.wb-cta-section p { opacity: 0.8; font-size: 15px; margin-bottom: 30px; }
.wb-cta-section .btn { padding: 12px 36px; font-size: 15px; }
.wb-cta-section .btn-primary { background: #fff; color: #2b1ee0; }
.wb-cta-section .btn-primary:hover { background: #f5f5f5; }

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .wb-hero-content { flex-direction: column; align-items: flex-start; }
    .wb-hero-graphic { width: 100%; height: 200px; }
    .wb-stack-grid { grid-template-columns: 1fr 1fr; }
    .wb-process-dev-grid { grid-template-columns: 1fr 1fr 1fr; }
    .wb-process-dev-grid .wb-pd-item:nth-child(4),
    .wb-process-dev-grid .wb-pd-item:nth-child(5) { grid-column: span 1.5; }
    .wb-value-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .wb-hero { padding: 40px 0 30px; }
    .wb-hero-title { font-size: 26px; }
    .wb-hero-desc { font-size: 13px; line-height: 1.7; }
    .wb-hero-graphic { height: 160px; }
    .wb-hero-tags span { font-size: 12px; }

    .wb-stack-dev { padding: 40px 0; }
    .wb-stack-dev h2 { font-size: 21px; }
    .wb-stack-grid { grid-template-columns: 1fr; gap: 16px; }
    .wb-st-item { padding: 22px 18px; }
    .wb-st-item h4 { font-size: 15px; }
    .wb-st-item p { font-size: 12px; }

    .wb-process-dev { padding: 40px 0; }
    .wb-process-dev h2 { font-size: 21px; }
    .wb-process-dev-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .wb-process-dev-grid .wb-pd-item:nth-child(5) { grid-column: span 2; }
    .wb-pd-item { padding: 22px 12px; }
    .wb-pd-num { width: 42px; height: 42px; font-size: 16px; }
    .wb-pd-item h4 { font-size: 15px; }
    .wb-pd-item p { font-size: 12px; }

    .wb-value-section { padding: 40px 0; }
    .wb-value-text h2 { font-size: 21px; }
    .wb-stats-badge-wrap { flex-direction: column; gap: 12px; }
    .wb-stat-box { padding: 16px 18px; }
    .wb-stat-box .num { font-size: 26px; }
    .wb-v-question { padding: 14px 16px; font-size: 14px; }
    .wb-v-answer { font-size: 13px; }

    .wb-faq-dev { padding: 40px 0; }
    .wb-faq-dev h2 { font-size: 21px; margin-bottom: 30px; }
    .wb-faq-item { padding: 16px 18px; }
    .wb-faq-question { font-size: 14px; }
    .wb-faq-answer { font-size: 13px; }

    .wb-cta-section { margin: 0 12px 36px; padding: 36px 18px; }
    .wb-cta-section h2 { font-size: 22px; }
    .wb-cta-section p { font-size: 13px; }
}

@media (max-width: 480px) {
    .wb-hero-title { font-size: 23px; }
    .wb-process-dev-grid { grid-template-columns: 1fr; }
    .wb-process-dev-grid .wb-pd-item:nth-child(5) { grid-column: span 1; }
    .wb-cta-section h2 { font-size: 20px; }
}
