/* Template B — 科技深色 · 紫 #7c3aed + 青 #06b6d4 + 深灰底 */
.home-page--b {
    background: var(--hb-bg);
    color: var(--hb-text);
}
.home-page--b .section,
.home-page--b .section-gray { background: transparent; padding: 0; }

.hb-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}
.hb-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(124,58,237,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6,182,212,0.25) 0%, transparent 55%),
        linear-gradient(180deg, #0f1117 0%, #1a1033 100%);
}
.hb-hero-inner { position: relative; z-index: 2; }
.hb-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(124,58,237,0.2);
    border: 1px solid rgba(124,58,237,0.5);
    color: #c4b5fd;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hb-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 640px;
}
.hb-hero-content > p {
    font-size: 1.15rem;
    color: var(--hb-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hb-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hb-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}
.hb-btn--glow {
    background: linear-gradient(135deg, var(--hb-purple), #6366f1);
    color: #fff;
    box-shadow: 0 8px 32px var(--hb-glow);
}
.hb-btn--glow:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--hb-glow); color: #fff; text-decoration: none; }
.hb-btn--line {
    border: 1px solid rgba(6,182,212,0.6);
    color: var(--hb-cyan);
    background: rgba(6,182,212,0.08);
}
.hb-btn--line:hover { background: rgba(6,182,212,0.15); color: var(--hb-cyan); text-decoration: none; }

.hb-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hb-quick-card {
    display: block;
    padding: 24px;
    border-radius: 16px;
    background: var(--hb-surface);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all 0.3s;
}
.hb-quick-card:hover {
    border-color: rgba(124,58,237,0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    text-decoration: none;
}
.hb-quick-card i { font-size: 1.5rem; color: var(--hb-cyan); margin-bottom: 12px; display: block; }
.hb-quick-card strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.hb-quick-card span { font-size: 0.8rem; color: var(--hb-muted); }
.hb-quick-card--accent { border-color: rgba(124,58,237,0.3); background: linear-gradient(145deg, #1a1033, var(--hb-surface)); }
.hb-quick-card--accent i { color: #c4b5fd; }

.hb-section-head { margin-bottom: 36px; }
.hb-section-head h2 { font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.hb-section-head p { color: var(--hb-muted); }
.hb-section-head--center { text-align: center; }

.hb-products { padding: 64px 0; background: var(--hb-surface); }
.hb-product-swiper { padding-bottom: 48px; }
.hb-product-card {
    display: block;
    background: var(--hb-surface-2);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all 0.3s;
    height: 100%;
}
.hb-product-card:hover {
    border-color: rgba(6,182,212,0.4);
    transform: translateY(-4px);
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.hb-product-img {
    height: 180px;
    background: #0f1117;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.hb-product-img img { max-width: 85%; max-height: 140px; object-fit: contain; }
.hb-product-info { padding: 18px; }
.hb-product-info span { font-size: 0.75rem; color: var(--hb-cyan); font-weight: 600; }
.hb-product-info h3 {
    font-size: 0.95rem; color: var(--hb-text); margin-top: 6px; font-weight: 500; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hb-product-swiper .swiper-pagination-bullet { background: var(--hb-muted); opacity: 0.5; }
.hb-product-swiper .swiper-pagination-bullet-active { background: var(--hb-purple); opacity: 1; }

.hb-dual { padding: 64px 0; }
.hb-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hb-dual-col h2 {
    font-size: 1.35rem; font-weight: 700; color: #fff;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hb-promo-card {
    display: flex; gap: 16px; margin-bottom: 16px;
    padding: 16px; border-radius: 14px;
    background: var(--hb-surface);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none; transition: border-color 0.3s;
}
.hb-promo-card:hover { border-color: rgba(124,58,237,0.5); text-decoration: none; }
.hb-promo-card img { width: 90px; height: 70px; object-fit: contain; border-radius: 8px; background: #fff; flex-shrink: 0; }
.hb-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--hb-cyan); margin-bottom: 6px;
}
.hb-promo-card h4 { color: #fff; font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
.hb-promo-card p { color: var(--hb-muted); font-size: 0.85rem; line-height: 1.4; margin: 0; }

.hb-news-stack { display: flex; flex-direction: column; gap: 12px; }
.hb-news-row {
    display: flex; gap: 16px; padding: 16px;
    border-radius: 12px; background: var(--hb-surface);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none; transition: all 0.25s;
}
.hb-news-row:hover { border-color: rgba(6,182,212,0.3); text-decoration: none; }
.hb-news-date {
    flex-shrink: 0; width: 52px; text-align: center;
    background: rgba(124,58,237,0.15); border-radius: 10px; padding: 8px 4px;
}
.hb-news-date b { display: block; font-size: 1.2rem; color: #fff; line-height: 1; }
.hb-news-date small { font-size: 0.65rem; color: var(--hb-muted); text-transform: uppercase; }
.hb-news-row h4 { color: #fff; font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
.hb-news-row p {
    color: var(--hb-muted); font-size: 0.82rem; margin: 0; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hb-link-more { display: inline-block; margin-top: 16px; color: var(--hb-cyan); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.hb-link-more:hover { color: #67e8f9; }

.hb-research { padding: 64px 0; background: linear-gradient(180deg, var(--hb-bg), #1a1033); }
.hb-research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.hb-research-item {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; border-radius: 12px;
    background: var(--hb-surface);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none; color: var(--hb-text);
    transition: all 0.25s;
}
.hb-research-item:hover {
    border-color: var(--hb-purple);
    background: rgba(124,58,237,0.1);
    text-decoration: none; color: #fff;
}
.hb-research-num { font-size: 0.75rem; font-weight: 800; color: var(--hb-purple); opacity: 0.7; }

.hb-about { padding: 64px 0 80px; }
.hb-about-box {
    text-align: center;
    padding: 56px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
    border: 1px solid rgba(124,58,237,0.25);
}
.hb-about-box h2 { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.hb-about-box p { max-width: 600px; margin: 0 auto 28px; color: var(--hb-muted); line-height: 1.8; }
.hb-about-box .hb-btn { margin: 0 6px; }

@media (max-width: 992px) {
    .hb-hero-cards { grid-template-columns: 1fr; }
    .hb-dual-grid { grid-template-columns: 1fr; }
    .hb-research-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hb-hero-content h1 { font-size: 2.2rem; }
    .hb-research-grid { grid-template-columns: 1fr; }
}
