/* ===== CSS Variables ===== */
:root {
    --primary: #1a3a6b;
    --accent: #0066FF;
    --accent-light: #4D94FF;
    --gradient: linear-gradient(135deg, #1a3a6b 0%, #2d5aa0 50%, #0066FF 100%);
    --gradient-light: linear-gradient(135deg, #2d5aa0 0%, #4D94FF 100%);
    --text: #1a1a2e;
    --text-light: #555;
    --text-lighter: #888;
    --bg: #ffffff;
    --bg-light: #f5f7fa;
    --bg-gray: #eef1f6;
    --border: #e0e4ea;
    --border-light: #eef1f6;
    --shadow: 0 2px 12px rgba(26, 58, 107, 0.08);
    --shadow-hover: 0 8px 30px rgba(26, 58, 107, 0.15);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --nav-height: 70px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section ===== */
.section {
    padding: 60px 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-lighter);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.section-header .divider {
    width: 50px;
    height: 3px;
    background: var(--gradient);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo .brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.nav-logo .brand-sub {
    font-size: 0.7rem;
    color: var(--text-lighter);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: var(--gradient);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.nav-phone svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

/* ===== Hero Banner (Full Screen) ===== */
.hero {
    position: relative;
    background: var(--gradient);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 102, 255, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(45, 90, 160, 0.4) 0%, transparent 50%);
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, rgba(255,255,255,0.06) 0%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding-top: var(--nav-height);
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero .hero-sub {
    font-size: 1.25rem;
    opacity: 0.92;
    margin-bottom: 40px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 42px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: #fff;
    color: var(--primary);
}

.hero-buttons .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Hero product showcase */
.hero-product {
    position: absolute;
    bottom: -30px;
    right: 8%;
    z-index: 1;
    max-width: 420px;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero scroll indicator */
.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-hint svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.5);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Main content spacing for fixed navbar */
main > section:not(.hero):first-of-type {
    /* no extra margin needed since hero is full-screen */
}

/* ===== Advantage Cards ===== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.advantage-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Product Category Preview ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-gray);
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-card-img img {
    transform: scale(1.08);
}

.category-card-body {
    padding: 20px;
}

.category-card-body h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.category-card-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}

.category-card-body .more-link {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== Industry Grid ===== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.industry-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.industry-card h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== About Section ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.about-stat .num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat .label {
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-top: 2px;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--gradient);
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.cta-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.cta-banner p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-banner .btn-white {
    display: inline-block;
    padding: 12px 36px;
    background: #fff;
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.cta-banner .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
    background: #0f1e35;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand .footer-logo {
    height: 42px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-brand .contact-info {
    font-size: 0.85rem;
    line-height: 2;
}

.footer-brand .contact-info strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Page Banner ===== */
.page-banner {
    background: var(--gradient);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-banner .banner-sub {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb em {
    margin: 0 8px;
    color: var(--text-lighter);
    font-style: normal;
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    color: var(--text-lighter);
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Product Listing Layout ===== */
.product-listing {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

/* Sidebar */
.product-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-title {
    background: var(--gradient);
    color: #fff;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius) var(--radius) 0 0;
}

.sidebar-tree {
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}

.tree-all {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
}

.tree-all a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    padding: 6px 0;
}

.tree-all a.active {
    color: var(--accent);
}

.tree-cat {
    border-bottom: 1px solid var(--border-light);
}

.tree-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    user-select: none;
}

.tree-cat-header:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.tree-cat-header.active {
    background: rgba(0, 102, 255, 0.08);
    color: var(--accent);
}

.tree-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
    flex-shrink: 0;
}

.tree-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-lighter);
    transition: transform 0.3s ease;
}

.tree-arrow.expanded {
    transform: rotate(90deg);
}

.tree-sub {
    display: none;
    padding: 4px 0 8px;
}

.tree-sub.open {
    display: block;
}

.tree-sub a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px 7px 40px;
    font-size: 0.86rem;
    color: var(--text-light);
    transition: var(--transition);
}

.tree-sub a:hover {
    color: var(--accent);
    background: var(--bg-light);
}

.tree-sub a.active {
    background: var(--gradient);
    color: #fff;
    font-weight: 500;
}

.tree-sub-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-lighter);
    flex-shrink: 0;
}

.tree-sub a.active .tree-sub-dot {
    background: #fff;
}

/* Product Area */
.product-area {
    flex: 1;
    min-width: 0;
}

.product-area-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}

.product-area-header h2 {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
}

.product-area-header .count {
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.product-area-header .count strong {
    color: var(--accent);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.product-card a {
    display: block;
    color: inherit;
}

.product-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
    position: relative;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

.product-card-info {
    padding: 14px 16px;
}

.product-card-info h3 {
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
}

.product-card-info .product-model {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--accent);
    background: rgba(0, 102, 255, 0.08);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.product-card-info .product-link {
    font-size: 0.82rem;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card:hover .product-card-info .product-link {
    color: var(--accent);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 102, 255, 0.05);
}

.pagination .current {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
}

.pagination .ellipsis {
    border: none;
    cursor: default;
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-lighter);
}

.no-results svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    fill: var(--border);
}

/* ===== Product Detail ===== */
.product-detail {
    padding: 40px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-gray);
}

.detail-img img {
    width: 100%;
    height: auto;
}

.detail-info h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

.detail-info .detail-subname {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.detail-info .detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.detail-info .detail-tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--accent);
}

.detail-info .detail-section {
    margin-bottom: 20px;
}

.detail-info .detail-section h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.detail-info .detail-section p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.spec-table th,
.spec-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    font-size: 0.88rem;
    text-align: left;
}

.spec-table th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
    width: 140px;
}

.spec-table td {
    color: var(--text-light);
}

.detail-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--gradient);
    color: #fff;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 10px;
}

.detail-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
    color: #fff;
}

.detail-contact-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Related products */
.related-products {
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.related-products h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== News Listing ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.news-card-header {
    padding: 16px 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-category {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
}

.news-card-category.cat-company {
    background: var(--accent);
}

.news-card-category.cat-trend {
    background: #e67e22;
}

.news-card-category.cat-factory {
    background: #27ae60;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-left: auto;
}

.news-card-body {
    padding: 12px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card:hover .news-card-body h3 a {
    color: var(--accent);
}

.news-card:hover .news-card-body h3 {
    color: var(--accent);
}

.news-card-body p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-body .read-more {
    font-size: 0.84rem;
    color: var(--accent);
    margin-top: 12px;
    font-weight: 500;
}

/* ===== News Article ===== */
.article-detail {
    padding: 40px 0;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.article-header .article-cat {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 14px;
}

.article-header h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.article-meta span {
    margin: 0 8px;
}

.article-body {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.9;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 28px 0 14px;
    font-weight: 600;
}

.article-body strong {
    color: var(--primary);
}

.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.article-nav a {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-nav a:hover {
    color: var(--accent);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 50px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-info-card h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.contact-item-info .label {
    font-size: 0.82rem;
    color: var(--text-lighter);
    margin-bottom: 2px;
}

.contact-item-info .value {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.contact-item-info .value.highlight {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== About Page ===== */
.about-page-section {
    padding: 50px 0;
}

.about-page-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.about-page-hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-page-hero-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-page-hero-text h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.about-page-hero-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.about-stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-stat-card:hover {
    background: #fff;
    box-shadow: var(--shadow-hover);
}

.about-stat-card .num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.about-stat-card .label {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== Floating Button ===== */
.float-consult {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.float-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.float-btn-label {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.float-btn:hover .float-btn-label {
    opacity: 1;
}

/* WeChat QR popup */
.float-btn-wechat {
    position: relative;
}
.wechat-popup {
    position: absolute;
    right: 66px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 16px;
    width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
.wechat-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #fff;
}
.wechat-popup img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.wechat-popup p {
    text-align: center;
    font-size: 0.78rem;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
}
.float-btn-wechat:hover .wechat-popup {
    opacity: 1;
    pointer-events: auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-product {
        max-width: 320px;
        max-height: 380px;
        bottom: -20px;
        right: 4%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-phone {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 100vh;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .hero-sub {
        font-size: 0.95rem;
    }

    .hero-product {
        display: none;
    }

    .hero-scroll-hint {
        bottom: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .about-page-hero,
    .detail-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .product-listing {
        flex-direction: column;
    }

    .product-sidebar {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 260px;
        text-align: center;
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 20px;
}
.news-pagination a,
.news-pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid var(--border-color);
}
.news-pagination a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(26, 58, 107, 0.04);
}
.news-pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    cursor: default;
}


/* ===== Page Hero (产品/新闻详情页顶部板块) ===== */
.page-hero {
  display: flex;
  /* 垂直上下居中 */
  align-items: center;
  /* 水平靠左 */
  justify-content: flex-start;
  position: relative;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 40%, #2d5aa0 100%);
  padding: 60px 0 20px 0;
  min-height: 300px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
  opacity: 0.6;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero-breadcrumb a:hover {
  color: #fff;
}
.page-hero-breadcrumb span {
  margin: 0 2px;
}
.page-hero-breadcrumb em {
  margin: 0 6px;
  color: rgba(255,255,255,0.25);
  font-style: normal;
}
.page-hero-subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
  margin: 0 0 10px;
  font-weight: 400;
}
.page-hero h1 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
}
.page-hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  letter-spacing: 3px;
}
/* 导航页面居中版 page-hero */
.page-hero-center {
  display: flex;
  /* 垂直居中 */
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 40%, #2d5aa0 100%);
  padding: 60px 0 20px 0;
  min-height: 300px;
  text-align: center;
  overflow: hidden;
}
.page-hero-center h1 {
  font-size: 1.75rem;
  color: #fff;
}
.page-hero-center .page-hero-subtitle {
  font-size: 0.78rem;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.5);
}
.page-hero-center .page-hero-desc {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
}

/* 覆盖详情页左对齐margin，让导航页内容水平+垂直居中 */
.page-hero-center .page-hero-content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
@media (max-width: 768px) {
  .page-hero {
  display: flex;
  align-items: center;
    padding: 30px 0;
    min-height: 110px;
  }
  .page-hero h1 {
    font-size: 1.35rem;
  }
  .page-hero-subtitle {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }
  .page-hero-desc {
    font-size: 0.78rem;
  }
  .page-hero-breadcrumb {
    font-size: 0.75rem;
  }
}
