/* ==========================================================================
   Boxinhuasheng Specialized Pages Stylesheet (pages.css)
   ========================================================================== */

/* ===== Distributor Page Layout ===== */
html { scroll-behavior: smooth; }
.b2b-hero-bg {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.92)), url('/assets/default/images/factory-gate.jpg') no-repeat center center;
    background-size: cover; padding: 90px 0; color: #fff;
}
.stat-card {
    border: 1px solid #e2e8f0; border-radius: 8px; padding: 30px 20px;
    text-align: center; background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    margin-bottom: 25px; transition: transform 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #2563eb; line-height: 1.1; }
.stat-label { font-size: 0.95rem; color: #475569; margin-top: 8px; font-weight: 600; }
.support-list li { margin-bottom: 16px; font-size: 1.05rem; display: flex; align-items: flex-start; }
.support-list li::before { content: "✓"; color: #10b981; font-weight: bold; font-size: 1.3rem; margin-right: 12px; line-height: 1.2; }
.lead-form-box { background: #ffffff; border: 2px solid #2563eb; border-radius: 12px; padding: 35px 30px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
.form-group label { font-weight: 600; color: #1e293b; margin-bottom: 6px; font-size: 0.95rem; }
.form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.required::after { content: " *"; color: #ef4444; }

/* Distributor Workshop Gallery Grid */
.gallery-grid .col { margin-bottom: 30px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07); background: #cbd5e1; display: block; cursor: pointer; }
.gallery-img-wrapper { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 35px 15px 15px; color: #fff; font-size: 0.9rem; font-weight: 500; text-align: center; }
.prod-badge { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; margin: 0 8px 10px 0; border: 1px solid rgba(255,255,255,0.25); }

/* ===== Exhibition Page Layout ===== */
.exhibition-section { margin-bottom: 50px; }
.exhibition-title { font-size: 24px; font-weight: bold; border-left: 4px solid #333; padding-left: 15px; margin-bottom: 25px; text-align: left; }
.exhibition-grid { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.exhibition-item { margin-bottom: 30px; }
.exhibition-item .portfolio-img { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background-color: #f5f5f5; position: relative; }
.exhibition-item .portfolio-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ===== OEM & Manufacturing Page Layout ===== */
.oem-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 80px 0 50px; color: #fff; }
.oem-process-card { background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); height: 100%; border-top: 4px solid #c8102e; }
.oem-process-num { font-size: 2rem; font-weight: 900; color: #c8102e; opacity: 0.8; margin-bottom: 10px; }

/* ===== Panoramic VR View Layout ===== */
.panoramic-wrap { width: 100%; height: 650px; position: relative; background: #000; border-radius: 12px; overflow: hidden; }
.panoramic-frame { width: 100%; height: 100%; border: none; }

/* ===== Landing G3 Page Layout ===== */
.g3-landing-hero { background: linear-gradient(135deg, #101824, #1a2332); padding: 70px 0; color: #fff; text-align: center; }
.g3-feature-box { padding: 25px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 20px; }

/* ===== Homepage Knowledge Center Article Cards ===== */
.home-blog-post .section-title-hub { font-weight: 800; color: #1a2332; }
.home-blog-post .section-desc-hub { font-size: 0.95rem; }
.home-blog-post .btn-hub { font-weight: 600; }
.home-blog-post .card-icon-placeholder { font-size: 2.5rem; }
.home-blog-post .card-category-badge { font-size: 0.75rem; text-transform: uppercase; }
.home-blog-post .card-title-hub { line-height: 1.4; }
.home-blog-post .card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 3em;
}
.home-blog-post .card-meta { font-size: 0.8rem; }

/* Channel Page Model Description Section */
.channel-model-desc-card { background-color: #f8fafc !important; }
.channel-model-desc-icon { background-color: rgba(200, 16, 46, 0.1); color: #c8102e; }
.channel-model-desc-text { font-size: 0.92rem; line-height: 1.6; }
