/* ========================================
   bnt-home.css – 首页专用样式
   ======================================== */

body.home {
    background: #ffffff;
}

/* ---------- 1. Hero Carousel ---------- */
.bnt-home-hero {
    position: relative;
}

.bnt-hero-swiper {
    width: 100%;
}

.bnt-hero-slide {
    position: relative;
    height: 90vh;
    min-height: 620px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bnt-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10,31,68,0.8) 0%, rgba(10,31,68,0.4) 50%, rgba(10,31,68,0.1) 100%);
}
.bnt-hero-slide[data-overlay="center-bottom"]::before {
    background: linear-gradient(0deg, rgba(10,31,68,0.8) 0%, rgba(10,31,68,0.4) 50%, rgba(10,31,68,0.1) 100%);
}
.bnt-hero-slide[data-overlay="right"]::before {
    background: linear-gradient(270deg, rgba(10,31,68,0.7) 0%, rgba(10,31,68,0.3) 50%, rgba(10,31,68,0.2) 100%);
}

.bnt-hero-slide .bnt-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

/* Hero 文案 */
.bnt-hero-content {
    max-width: 620px;
    color: #ffffff;
}
.bnt-hero-content .bnt-hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #ffffff;
}
.bnt-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin: 0 0 12px;
}
.bnt-hero-content p:last-of-type {
    margin-bottom: 30px;
}
.bnt-hero-content .bnt-btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.bnt-hero-content .bnt-btn:hover {
    background: #ffffff;
    color: #0a1f44;
}

.bnt-hero-left { margin-right: auto; text-align: left; }
.bnt-hero-center-bottom { margin: 0 auto; text-align: center; align-self: flex-end; padding-bottom: 90px; }
.bnt-hero-right { margin-left: auto; margin-right: 0; text-align: left; max-width: 620px; }

.bnt-hero-swiper .swiper-button-next, .bnt-hero-swiper .swiper-button-prev { color: #ffffff; }
.bnt-hero-swiper .swiper-pagination-bullet { background: #ffffff; opacity: 0.5; }
.bnt-hero-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* ---------- 2. Product Family ---------- */
.bnt-home-family {
    padding: 100px 0 80px;
    background: #ffffff;
}
.bnt-family-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.bnt-family-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 4;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.bnt-family-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}
.bnt-family-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}
.bnt-family-card:hover .bnt-family-img { transform: scale(1.06); }
.bnt-family-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,31,68,0.92) 0%, rgba(10,31,68,0.4) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s;
}
.bnt-family-card:hover .bnt-family-overlay { opacity: 1; }
.bnt-family-overlay h3 { font-size: 1.6rem; font-weight: 700; color: #ffffff; margin: 0 0 10px; }
.bnt-family-overlay p { font-size: 0.95rem; color: #e0e0e0; line-height: 1.5; margin: 0; }

/* ---------- 3. Manufacturing Overview ---------- */
.bnt-home-manufacturing {
    padding: 100px 0 220px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.bnt-home-manufacturing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.bnt-home-manufacturing .bnt-container {
    position: relative;
    z-index: 2;
}
.bnt-mfg-intro {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 0 50px;
}
.bnt-mfg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.bnt-mfg-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.bnt-mfg-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.bnt-mfg-thumb {
    position: relative;
    aspect-ratio: 4 / 4;
    background-size: cover;
    background-position: center;
}
.bnt-mfg-label {
    position: absolute;
    left: 0;
    top: 20px;
    padding: 6px 16px 6px 14px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 3px 10px rgba(243,156,18,0.4);
}
.bnt-mfg-item h3 { font-size: 1.05rem; font-weight: 700; color: #0a1f44; margin: 18px 20px 8px; }
.bnt-mfg-item p { font-size: 0.9rem; color: #555; line-height: 1.5; margin: 0 20px 22px; }

/* ---------- 4. Our Certifications（悬浮） ---------- */
.bnt-home-certs {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    margin-bottom: -60px;
    padding: 40px 0 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.bnt-certs-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a1f44;
    text-align: center;
    margin: 0 0 25px;
    letter-spacing: 0.3px;
}
.bnt-certs-track { overflow: hidden; width: 100%; }
.bnt-certs-scroll {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: bnt-cert-marquee 40s linear infinite;
}
.bnt-cert-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
}
.bnt-cert-item img { max-height: 150px; width: auto; transition: filter 0.3s, opacity 0.3s; }
@keyframes bnt-cert-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- 5. Products ---------- */
.bnt-home-products {
    padding: 140px 0 100px;
    background: #ffffff;
}
.bnt-home-products .bnt-product-tabs, .bnt-home-resources .bnt-product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}
.bnt-home-products .bnt-tab-btn, .bnt-home-resources .bnt-tab-btn {
    padding: 11px 26px;
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #0a1f44;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bnt-home-products .bnt-tab-btn:hover, .bnt-home-products .bnt-tab-btn.active,
.bnt-home-resources .bnt-tab-btn:hover, .bnt-home-resources .bnt-tab-btn.active {
    background: #0a1f44;
    color: #ffffff;
    border-color: #0a1f44;
}
.bnt-home-products .bnt-panel, .bnt-home-resources .bnt-panel { display: none; }
.bnt-home-products .bnt-panel.active, .bnt-home-resources .bnt-panel.active { display: block; }

.bnt-home-products .bnt-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.bnt-home-products .bnt-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.bnt-home-products .bnt-product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.14); }
.bnt-home-products .bnt-product-thumb { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f0f0; }
.bnt-home-products .bnt-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.bnt-home-products .bnt-product-card:hover .bnt-product-thumb img { transform: scale(1.05); }
.bnt-product-card-info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.bnt-product-cat { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #f39c12; margin-bottom: 8px; }
.bnt-home-products .bnt-product-card h3 { font-size: 1.15rem; font-weight: 700; color: #0a1f44; margin: 0 0 8px; line-height: 1.35; }
.bnt-home-products .bnt-product-card p { font-size: 0.9rem; color: #666; line-height: 1.5; margin: 0; }

/* ---------- 6. Application ---------- */
.bnt-home-application {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background: #0a1f44;
}
.bnt-app-bgs { position: absolute; inset: 0; }
.bnt-app-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.7s ease; }
.bnt-app-bg.active { opacity: 1; }
.bnt-app-bg::after { content: ""; position: absolute; inset: 0; }
.bnt-app-inner { position: relative; z-index: 2; padding: 100px 0; }
.bnt-app-tabs { display: flex; flex-direction: column; gap: 30px; position: relative; padding-left: 40px; max-width: 420px; margin-top: 40px; }
.bnt-app-tabs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background-color: #d2d2d2; }
.bnt-app-tab { position: relative; cursor: pointer; padding: 5px 0; }
.bnt-app-tab h3 { font-size: 1.6rem; font-weight: 600; color: rgba(255,255,255,0.4); margin: 0; transition: color 0.3s; }
.bnt-app-tab:hover h3, .bnt-app-tab.active h3 { color: #ffffff; }
.bnt-app-tab::before { content: ""; position: absolute; left: -40px; top: 0; bottom: 0; width: 4px; background-color: transparent; transition: background-color 0.3s; }
.bnt-app-tab:hover::before, .bnt-app-tab.active::before { background-color: #f39c12; }
.bnt-app-desc { font-size: 0.95rem; color: #e0e0e0; line-height: 1.5; display: none; margin-top: 8px; }
.bnt-app-tab.active .bnt-app-desc { display: block; }

/* ---------- 7. Resources ---------- */
.bnt-home-resources { padding: 100px 0; background: #ffffff; }
.bnt-home-resources .bnt-recommended-grid { display: flex; gap: 50px; align-items: flex-start; }
.bnt-home-resources .bnt-rec-featured { flex: 1 1 40%; max-width: 40%; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 40px; margin-bottom: 0; background: #ffffff; }
.bnt-home-resources .bnt-rec-featured .bnt-rec-date { font-size: 0.85rem; color: #999; margin-bottom: 30px; }
.bnt-home-resources .bnt-rec-featured h3 { font-size: 1.5rem; font-weight: 500; color: #0a1f44; margin: 0 0 30px; line-height: 1.35; }
.bnt-home-resources .bnt-rec-featured p { font-size: 1rem; color: #555; line-height: 1.6; margin-bottom: 30px; }
.bnt-home-resources .bnt-rec-featured img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.bnt-home-resources .bnt-rec-list { flex: 1 1 60%; display: flex; flex-direction: column; gap: 50px; }
.bnt-home-resources .bnt-rec-item { display: flex; gap: 30px; align-items: center; background: #ffffff; border-radius: 6px; padding: 15px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.bnt-home-resources .bnt-rec-text { flex: 1; }
.bnt-home-resources .bnt-rec-text h3 { font-size: 1.5rem; font-weight: 500; color: #0a1f44; margin: 0 0 20px; line-height: 1.35; transition: color 0.2s; }
.bnt-home-resources .bnt-rec-text p { font-size: 1rem; color: #555; line-height: 1.6; margin-bottom: 15px; }
.bnt-home-resources .bnt-rec-thumb { flex: 0 0 220px; width: 220px; height: 165px; border-radius: 4px; overflow: hidden; }
.bnt-home-resources .bnt-rec-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bnt-home-resources .bnt-rec-link { display: block; text-decoration: none; color: inherit; }
.bnt-home-resources .bnt-rec-link:hover h3 { color: #1a3a6a; }

/* ---------- 8. Contact ---------- */
.bnt-home-contact { position: relative; padding: 100px 0; background-size: cover; background-position: center; }
.bnt-contact-overlay { position: absolute; inset: 0; background: rgba(10,31,68,0.6); }
.bnt-home-contact .bnt-container { position: relative; z-index: 2; }
.bnt-contact-inner { display: flex; align-items: center; gap: 60px; }
.bnt-contact-text { flex: 1 1 45%; color: #ffffff; }
.bnt-contact-text h2 { font-size: 2.6rem; font-weight: 700; color: #ffffff; margin: 0 0 20px; line-height: 1.2; }
.bnt-contact-text p { font-size: 1.15rem; color: #e0e0e0; line-height: 1.6; margin: 0; }
.bnt-contact-form-wrap { flex: 1 1 55%; max-width: 600px; }
.bnt-home-form { display: flex; flex-direction: column; gap: 15px; }
.bnt-home-form .bnt-form-group { width: 100%; }
.bnt-home-form input, .bnt-home-form textarea {
    width: 100%; padding: 13px 18px; font-size: 1rem; font-family: inherit; color: #0a1f44;
    background: rgba(255,255,255,0.96); border: 1px solid transparent; border-radius: 5px; box-sizing: border-box; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.bnt-home-form input::placeholder, .bnt-home-form textarea::placeholder { color: #9aa1ab; }
.bnt-home-form input:focus, .bnt-home-form textarea:focus { border-color: #f39c12; box-shadow: 0 0 0 3px rgba(243,156,18,0.25); }
.bnt-home-form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.bnt-home-submit {
    display: inline-block; width: 100%; padding: 14px 24px; font-size: 1rem; font-weight: 700; letter-spacing: 0.3px; color: #ffffff;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); border: none; border-radius: 5px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.bnt-home-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(243,156,18,0.4); filter: brightness(1.05); }

/* ---------- 9. 区块标题样式 ---------- */
.bnt-home .bnt-section-title {
    position: relative;
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 60px;
    padding: 0 24px 0 34px;
    text-align: left;
    background: linear-gradient(90deg, #0a1f44 0%, #1a3a6a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.bnt-home .bnt-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 34px;
    background: linear-gradient(180deg, #0a1f44 0%, #1a3a6a 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
}
.bnt-home .bnt-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #0a1f44 0%, #1a3a6a 40%, rgba(10,31,68,0.05) 100%);
    border-radius: 2px;
}
.bnt-home .bnt-title-light,
.bnt-home .bnt-home-manufacturing .bnt-section-title,
.bnt-home .bnt-home-application .bnt-section-title {
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.bnt-home .bnt-title-light::before,
.bnt-home .bnt-home-manufacturing .bnt-section-title::before,
.bnt-home .bnt-home-application .bnt-section-title::before { background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%); }
.bnt-home .bnt-title-light::after,
.bnt-home .bnt-home-manufacturing .bnt-section-title::after,
.bnt-home .bnt-home-application .bnt-section-title::after { background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 40%, rgba(255,255,255,0.05) 100%); }

/* ---------- 响应式 (仅保留局部变化) ---------- */
@media (max-width: 1200px) {
    .bnt-mfg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .bnt-hero-content .bnt-hero-title { font-size: 2.4rem; }
    .bnt-hero-content p { font-size: 1rem; }
    .bnt-hero-center-bottom { align-self: center; padding-bottom: 0; }
    .bnt-family-grid { grid-template-columns: repeat(2, 1fr); }
    .bnt-home-products .bnt-product-grid { grid-template-columns: repeat(2, 1fr); }
    .bnt-home-resources .bnt-recommended-grid { flex-direction: column; }
    .bnt-home-resources .bnt-rec-featured, .bnt-home-resources .bnt-rec-list { flex: 1 1 100%; max-width: 100%; }
    .bnt-contact-inner { flex-direction: column; gap: 40px; }
    .bnt-contact-text, .bnt-contact-form-wrap { flex: 1 1 100%; max-width: 100%; }
    .bnt-home .bnt-section-title { font-size: 2.6rem; padding-left: 30px; }
    .bnt-home .bnt-section-title::before { width: 12px; height: 28px; }
    .bnt-home .bnt-section-title::after { bottom: -16px; }
}
@media (max-width: 768px) {
    .bnt-hero-slide { height: 70vh; min-height: 480px; }
    .bnt-hero-content h1 { font-size: 1.8rem; }
    .bnt-hero-right, .bnt-hero-left { text-align: left; }
    .bnt-family-grid, .bnt-mfg-grid, .bnt-home-products .bnt-product-grid { grid-template-columns: 1fr; }
    .bnt-home-certs { margin-top: -30px; margin-bottom: -30px; padding: 25px 0; }
    .bnt-certs-scroll { gap: 40px; }
    .bnt-rec-item { flex-direction: column; align-items: flex-start; }
    .bnt-rec-item .bnt-rec-thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; flex: 0 0 auto; }
    .bnt-contact-text h2 { font-size: 1.8rem; }
    .bnt-home .bnt-section-title { font-size: 2rem; padding-left: 24px; margin-bottom: 50px; }
    .bnt-home .bnt-section-title::before { width: 9px; height: 22px; }
    .bnt-home .bnt-section-title::after { bottom: -14px; }
}