/* ==========================================================================
   XXX科技有限公司 - 前端样式
   基于 Bootstrap 5，品牌主色：蓝黑 + 辅助色：工业红
   工业风格：硬朗、沉稳、专业
   ========================================================================== */

:root {
    --primary-color: #1A2744;
    --primary-dark: #0B1D33;
    --primary-light: #2C3E5A;
    --accent-color: #FF0000;
    --accent-light: #FF3333;
    --accent-dark: #CC0000;
    --secondary-color: #4A6A8A;
    --text-main: #2D3748;
    --text-secondary: #5A6577;
    --text-light: #94A3B8;
    --text-dark: #1a1a1a;
    --bg-white: #FFFFFF;
    --bg-gray: #F0F2F5;
    --bg-dark: #0B1D33;
    --border-color: #D5D9E0;
    --shadow-light: 0 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --transition-base: all 0.25s ease;
}

/* ==========================================================================
   基础
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 全局背景花纹通过 body::after 实现（整体旋转45°的太阳能电池板方格） */
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        /* 电池片细栅线 */
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        /* 电池片边框 */
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.035) 79px, rgba(255,255,255,0.035) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.035) 79px, rgba(255,255,255,0.035) 81px),
        /* 组件边框（减淡） */
        repeating-linear-gradient(0deg, transparent, transparent 321px, rgba(255,255,255,0.025) 321px, rgba(255,255,255,0.025) 324px),
        repeating-linear-gradient(90deg, transparent, transparent 321px, rgba(255,255,255,0.025) 321px, rgba(255,255,255,0.025) 324px);
    background-size: 20px 20px, 20px 20px, 80px 80px, 80px 80px, 324px 324px, 324px 324px;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Bootstrap 主色覆盖 */
.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.25s ease;
}

.btn-primary:hover::after {
    left: 0;
}

.btn-danger {
    --bs-btn-bg: var(--accent-color);
    --bs-btn-border-color: var(--accent-color);
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-active-bg: var(--accent-dark);
    --bs-btn-active-border-color: var(--accent-dark);
    --bs-btn-disabled-bg: var(--accent-color);
    --bs-btn-disabled-border-color: var(--accent-color);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-danger::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.25s ease;
}

.btn-danger:hover::after {
    left: 0;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}/* ==========================================================================
   顶部导航栏
   ========================================================================== */
.site-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-medium);
    background: #FFFFFF;
}

.site-header .navbar {
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 160px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-header .navbar-nav .nav-link {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    padding: 0.5rem 2rem !important;
    position: relative;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* 隐藏 Bootstrap 下拉箭头 */
.site-header .dropdown-toggle::after {
    display: none !important;
}

/* 下拉箭头图标 — 绝对定位不影响 padding */
.site-header .nav-item.dropdown > .nav-link::before {
    content: '\f282';
    font-family: "bootstrap-icons" !important;
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-light);
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    background: #FF0000;
    color: #fff !important;
}

.site-header .nav-item.dropdown:hover > .nav-link {
    background: #FF0000;
    color: #fff !important;
}

.site-header .nav-item.dropdown:hover > .nav-link::before {
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

/* 下拉菜单 hover 显示 */
.site-header .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: dropdownFadeIn 0.15s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-header .dropdown-menu {
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--accent-color);
    border-radius: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    margin-top: 0;
    padding: 0;
    min-width: 180px;
}

.site-header .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    border-bottom: 1px solid var(--bg-gray);
    transition: var(--transition-base);
}

.site-header .dropdown-item:last-child {
    border-bottom: none;
}

.site-header .dropdown-item:hover {
    background: var(--accent-color);
    color: #FFF;
    padding-left: 24px;
}

.language-selector {
    margin-left: 24px;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-base);
    line-height: 1.5;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary-color);
}

.lang-dropdown-btn .bi-chevron-down {
    font-size: 10px;
    transition: transform 0.2s;
}

.lang-dropdown-btn[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-label {
    font-weight: 500;
}

.lang-menu {
    min-width: 160px;
    padding: 6px 0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--border-color);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.lang-item:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.lang-item.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(26,39,68,0.04);
}

.lang-item .lang-flag {
    font-size: 18px;
}

/* 移动端折叠按钮高亮 */
.navbar-toggler {
    border-color: var(--border-color);
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumb-area {
    background: transparent;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-area .breadcrumb-item a {
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.breadcrumb-area .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-area .breadcrumb-item.active {
    color: var(--text-light);
}

/* ==========================================================================
   主体 & 页脚
   ========================================================================== */
.main-content {
    min-height: calc(100vh - 180px);
    padding-bottom: 40px;
}

/* 首页无底部间距，最后区块紧接页脚 */
.main-content:not(.page-content-wrap) {
    padding-bottom: 0;
}

/* 内页白色背景区 */
.page-content-wrap {
    background: rgba(255, 255, 255, 0.95);
}

.site-footer {
    background: var(--bg-dark);
    color: #CCC;
    padding: 50px 0 20px;
    margin-top: 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.site-footer h4 {
    color: #FFF;
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 2px;
    background: var(--accent-color);
}

.site-footer p {
    color: #AAA;
    margin-bottom: 8px;
    line-height: 1.8;
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #AAA;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.wechat-qrcode {
    display: block;
}

.wechat-qrcode img {
    display: block;
    width: 120px;
    height: 120px;
    max-width: none;
}

.wechat-qrcode p {
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* 友情链接 */
.friend-links-section {
    margin-top: 10px;
}

.friend-links-title {
    color: #FFF;
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.friend-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 2px;
    background: var(--accent-color);
}

.friend-links-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.friend-links-list li {
    position: relative;
}

.friend-links-list a {
    color: #AAA;
    font-size: 13px;
    transition: color .3s;
}

.friend-links-list a:hover {
    color: var(--accent-light);
}

.copyright {
    font-size: 13px;
}

/* ==========================================================================
   页面头部（渐变背景条）
   ========================================================================== */
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B1D33 0%, #1A2744 50%, #2C3E5A 100%);
    color: #FFF;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.035) 79px, rgba(255,255,255,0.035) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.035) 79px, rgba(255,255,255,0.035) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 321px, rgba(255,255,255,0.025) 321px, rgba(255,255,255,0.025) 324px),
        repeating-linear-gradient(90deg, transparent, transparent 321px, rgba(255,255,255,0.025) 321px, rgba(255,255,255,0.025) 324px);
    background-size: 20px 20px, 20px 20px, 80px 80px, 80px 80px, 324px 324px, 324px 324px;
    pointer-events: none;
}

.page-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 500px 250px at 20% 50%, rgba(255,0,0,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 80% 40%, rgba(44,62,90,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* h2 仅保留占位，视觉上隐藏 */
.page-header h2 {
    display: none;
}

/* ==========================================================================
   正文区标题（面包屑之下）
   ========================================================================== */
.page-body-header {
    padding: 0;
}

.page-title-block {
    padding: 24px 0 6px;
    text-align: center;
}

.page-title-block h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.page-title-block h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 3px;
    background: var(--accent-color);
}

.page-title-block .page-desc {
    font-size: 15px;
    color: #999;
    margin-bottom: 10px;
}

.page-title-block .page-meta {
    justify-content: center;
    margin-top: 4px;
    margin-bottom: 16px;
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.page-meta span {
    font-size: 14px;
}

.page-meta a {
    color: #666;
    text-decoration: none;
}

.page-meta a:hover {
    color: var(--primary-color);
}

.page-meta .bi {
    margin-right: 4px;
    color: #999;
}

/* ==========================================================================
   区块标题 — 左对齐工业风格
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 48px;
}

.section-header__accent {
    width: 4px;
    height: 48px;
    background: var(--accent-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.section-header__text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.section-header__text p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.section-header__text .section-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.section-header__text .section-more:hover {
    color: var(--accent-dark);
}

.section-header__text .section-more i {
    transition: margin-left 0.2s ease;
}

.section-header__text .section-more:hover i {
    margin-left: 4px;
}

/* 浅色区块标题（用于深色背景区块） */
.section-header--light .section-header__accent {
    background: var(--accent-color);
}

.section-header--light .section-header__text h3 {
    color: #FFF;
}

.section-header--light .section-header__text p {
    color: rgba(255, 255, 255, 0.65);
}

.section-header--light .section-header__text .section-more {
    color: var(--accent-light);
}

/* 兼容旧的 section-title（内页仍可能使用） */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    padding-bottom: 15px;
    position: relative;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 15px;
}

.section-title .more-btn {
    margin-top: 15px;
}

/* ==========================================================================
   首页轮播 / Hero
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -1px;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 500px;
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

/* 轮播图上叠加太阳能电池板花纹（旋转45°） */
.hero-section .carousel-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.02) 19px, rgba(255,255,255,0.02) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.02) 19px, rgba(255,255,255,0.02) 20px),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.045) 79px, rgba(255,255,255,0.045) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.045) 79px, rgba(255,255,255,0.045) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 321px, rgba(255,255,255,0.03) 321px, rgba(255,255,255,0.03) 324px),
        repeating-linear-gradient(90deg, transparent, transparent 321px, rgba(255,255,255,0.03) 321px, rgba(255,255,255,0.03) 324px);
    background-size: 20px 20px, 20px 20px, 80px 80px, 80px 80px, 324px 324px, 324px 324px;
    pointer-events: none;
    z-index: 1;
}

.banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #FFF;
    padding: 80px 40px 50px;
    text-align: center;
    z-index: 2;
}

.banner-caption h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.banner-caption p {
    font-size: 18px;
    opacity: 0.9;
}

.hero-section .carousel-indicators {
    bottom: 25px;
    z-index: 2;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFF;
    background: transparent;
    opacity: 0.5;
}

.hero-section .carousel-indicators .active {
    background: #FFF;
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.35);
    background-size: 50%;
}

/* ==========================================================================
   首页分块背景 — 区分浅色/深色区块
   ========================================================================== */
.home-section {
    padding: 80px 0;
    position: relative;
}

/* 浅色区块：半透明白色 + 毛玻璃 */
.home-section--advantages,
.home-section--news,
.home-section--partners {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 深色区块：半透明深蓝 */
.home-section--solutions {
    background: rgba(11, 29, 51, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.home-section--solutions::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.035) 79px, rgba(255,255,255,0.035) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.035) 79px, rgba(255,255,255,0.035) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 321px, rgba(255,255,255,0.025) 321px, rgba(255,255,255,0.025) 324px),
        repeating-linear-gradient(90deg, transparent, transparent 321px, rgba(255,255,255,0.025) 321px, rgba(255,255,255,0.025) 324px);
    background-size: 20px 20px, 20px 20px, 80px 80px, 80px 80px, 324px 324px, 324px 324px;
    pointer-events: none;
}

/* 最后一个 home-section 紧贴页脚 */
.home-section:last-of-type {
    padding-bottom: 60px;
}

/* ==========================================================================
   数据统计条
   ========================================================================== */
.stats-bar {
    background: var(--primary-color);
    padding: 36px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.02) 19px, rgba(255,255,255,0.02) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.02) 19px, rgba(255,255,255,0.02) 20px),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.04) 79px, rgba(255,255,255,0.04) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.04) 79px, rgba(255,255,255,0.04) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 321px, rgba(255,255,255,0.03) 321px, rgba(255,255,255,0.03) 324px),
        repeating-linear-gradient(90deg, transparent, transparent 321px, rgba(255,255,255,0.03) 321px, rgba(255,255,255,0.03) 324px);
    background-size: 20px 20px, 20px 20px, 80px 80px, 80px 80px, 324px 324px, 324px 324px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 2px;
    line-height: 1.1;
}

.stat-suffix {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    letter-spacing: 2px;
}

/* ==========================================================================
   核心优势 — 编号横排卡片
   ========================================================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.adv-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    transition: all 0.25s ease;
    position: relative;
}

.adv-item:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.adv-item__marker {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 52px;
    gap: 4px;
}

.adv-item__num {
    font-size: 22px;
    font-weight: 800;
    color: rgba(26, 39, 68, 0.12);
    line-height: 1;
    letter-spacing: -1px;
}

.adv-item i {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.25s ease;
}

.adv-item:hover i {
    color: var(--accent-color);
}

.adv-item__body h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-main);
}

.adv-item__body p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   解决方案卡片 — 深色区块
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sol-card {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sol-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.sol-card__img {
    flex: 0 0 220px;
    overflow: hidden;
    position: relative;
}

.sol-card__img img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sol-card:hover .sol-card__img img {
    transform: scale(1.06);
}

.sol-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    background: var(--accent-color);
    color: #FFF;
    padding: 3px 10px;
    letter-spacing: 1px;
    font-weight: 600;
}

.sol-card__body {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sol-card__body h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
}

.sol-card__body h4 a {
    color: #FFF;
}

.sol-card__body h4 a:hover {
    color: var(--accent-light);
}

.sol-card__body p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sol-card__link {
    font-size: 13px;
    color: var(--accent-light);
    font-weight: 500;
    align-self: flex-start;
}

.sol-card__link:hover {
    color: var(--accent-color);
}

.sol-card__link i {
    transition: margin-left 0.2s ease;
}

.sol-card__link:hover i {
    margin-left: 4px;
}

/* ==========================================================================
   新闻资讯 — 横向卡片网格 (2列)
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}



.news-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-card__meta .bi {
    margin-right: 3px;
}

.news-card__meta .news-tag {
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.15);
    color: var(--accent-dark);
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
}

.news-card__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card__title {
    color: var(--primary-color);
}

.news-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   合作伙伴
   ========================================================================== */
.partner-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.partner-item {
    flex: 0 0 auto;
    opacity: 0.5;
    filter: grayscale(0.6);
    transition: all 0.25s ease;
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   CTA 咨询条
   ========================================================================== */
.cta-strip {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.02) 19px, rgba(255,255,255,0.02) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.02) 19px, rgba(255,255,255,0.02) 20px),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.04) 79px, rgba(255,255,255,0.04) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.04) 79px, rgba(255,255,255,0.04) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 321px, rgba(255,255,255,0.03) 321px, rgba(255,255,255,0.03) 324px),
        repeating-linear-gradient(90deg, transparent, transparent 321px, rgba(255,255,255,0.03) 321px, rgba(255,255,255,0.03) 324px);
    background-size: 20px 20px, 20px 20px, 80px 80px, 80px 80px, 324px 324px, 324px 324px;
}

.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.cta-strip__text h3 {
    font-size: 22px;
    font-weight: 600;
    color: #FFF;
    margin: 0 0 6px;
    letter-spacing: 1px;
}

.cta-strip__text p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 14px;
}

.cta-strip__actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-cta--primary {
    background: var(--accent-color);
    color: #FFF;
    border-color: var(--accent-color);
}

.btn-cta--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #FFF;
    transform: translateY(-1px);
}

.btn-cta--outline {
    background: transparent;
    color: #FFF;
    border-color: rgba(255,255,255,0.4);
}

.btn-cta--outline:hover {
    border-color: #FFF;
    color: #FFF;
    transform: translateY(-1px);
}

/* ==========================================================================
   产品卡片 / 新闻卡片（内页列表仍使用）
   ========================================================================== */
.product-card,
.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #B22222;
    opacity: 1;
    transition: background 0.3s;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    background: #B22222;
}

.news-card:hover::before {
    opacity: 1;
}

.product-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.product-img,
.news-img {
    overflow: hidden;
}

.product-img img,
.news-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img,
.news-card:hover .news-img img {
    transform: scale(1.05);
}

.product-info,
.news-info {
    padding: 16px;
}

.product-info h4,
.news-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-info h4 a,
.news-info h4 a {
    color: var(--text-main);
}

.product-info h4 a:hover,
.news-info h4 a:hover {
    color: var(--primary-color);
}

.product-desc,
.news-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(26, 39, 68, 0.08);
    padding: 2px 10px;
    border-radius: 2px;
    border: 1px solid rgba(26, 39, 68, 0.15);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.news-category {
    color: var(--accent-dark);
    background: rgba(192, 57, 43, 0.10);
    padding: 2px 10px;
    border-radius: 2px;
    border: 1px solid rgba(192, 57, 43, 0.18);
}

.read-more {
    font-size: 14px;
    color: var(--primary-color);
}

.read-more i {
    font-size: 12px;
    transition: margin-left 0.3s ease;
}

.read-more:hover i {
    margin-left: 4px;
}

/* ==========================================================================
   侧边栏分类导航
   ========================================================================== */
.sidebar-category,
.sidebar-widget,
.hot-news {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.sidebar-category h4,
.sidebar-widget h4,
.hot-news h4 {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category ul li {
    border-bottom: 1px solid var(--bg-gray);
}

.sidebar-category ul li:last-child {
    border-bottom: none;
}

.sidebar-category ul li a {
    display: block;
    padding: 10px 12px;
    color: var(--text-main);
    font-size: 14px;
    border-radius: 4px;
}

.sidebar-category ul li a:hover,
.sidebar-category ul li a.active {
    background: rgba(26, 39, 68, 0.06);
    color: var(--primary-color);
    border-left: 3px solid var(--accent-color);
}

.hot-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-news-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.hot-news-list li:last-child {
    border-bottom: none;
}

.hot-news-list a {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-news-list a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   新闻列表
   ========================================================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-item {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
    height: 100%;
    text-decoration: none;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.news-item-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item:hover .news-item-content h3 {
    color: var(--primary-color);
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-summary {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .news-list.news-grid {
        grid-template-columns: 1fr;
    }
}
.news-detail-section,
.product-detail-section,
.news-list-section,
.product-list-section,
.about-section,
.about-page-section,
.contact-section {
    padding: 20px 0 40px;
}

.news-article {
    background: var(--bg-white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-card);
}

.news-content p {
    text-indent: 2em;
    margin-bottom: 1em;
}

.news-cover {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.content-body {
    line-height: 1.9;
    font-size: 15px;
    color: var(--text-main);
}

.content-body img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 6px;
}

.content-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.content-body h3,
.content-body h4 {
    margin: 20px 0 10px;
    font-weight: 600;
}

.news-tags {
    margin: 20px 0 15px;
}

.news-tags span {
    color: var(--text-secondary);
    margin-right: 6px;
}

.news-share {
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.news-share span {
    color: var(--text-secondary);
    margin-right: 10px;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.prev-news,
.next-news {
    flex: 1;
    color: var(--text-secondary);
    font-size: 14px;
}

.prev-news:hover,
.next-news:hover {
    color: var(--primary-color);
}

.next-news {
    text-align: right;
}

/* ==========================================================================
   产品详情
   ========================================================================== */

/* 方案正文（统一区块） */
.solution-body {
    background: var(--bg-white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    margin-top: 25px;
}

/* 产品主区域：左图右信息 */
.product-main {
    display: flex;
    gap: 36px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    align-items: stretch;
}

.product-main__image {
    flex: 0 0 420px;
    max-width: 420px;
}

.product-main__thumb {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-main__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 主图轮播左右切换箭头 */
.product-main__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #c00;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    padding: 8px 6px;
    z-index: 2;
    transition: var(--transition-base);
    user-select: none;
}

.product-main__nav:hover {
    color: #f00;
    transform: translateY(-50%) scale(1.15);
}

.product-main__nav--prev { left: 0; }
.product-main__nav--next { right: 0; }

.product-main__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ccc;
    width: 100%;
    height: 100%;
}

.product-main__placeholder i {
    font-size: 48px;
}

.product-main__placeholder span {
    font-size: 14px;
}

/* 缩略图列表 */
.product-main__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumb-item {
    width: 64px;
    height: 64px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧信息区 */
.product-main__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-main__info h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

/* 参数规格表 */
.product-spec {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.product-spec li {
    display: flex;
    padding: 14px 4px;
    border-bottom: 1px dashed #e5e5e5;
    font-size: 14px;
    align-items: baseline;
}

.product-spec li:first-child {
    border-top: 1px dashed #e5e5e5;
}

.product-spec .spec-label {
    color: #999;
    flex-shrink: 0;
    min-width: 84px;
}

.product-spec .spec-value {
    color: #333;
    flex: 1;
}

.product-spec .spec-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-spec .spec-value a:hover {
    text-decoration: underline;
}

/* 产品底部：分享 */
.product-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.product-footer .product-share {
    margin: 0;
    padding: 0;
    border: none;
}

/* 咨询按钮（右侧信息区底部） */
.product-main__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}

.btn-consult {
    display: inline-block;
    padding: 10px 32px;
    font-size: 14px;
    background: #d9534f;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-consult:hover {
    background: #c9302c;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-main {
        flex-direction: column;
        gap: 20px;
    }

    .product-main__image {
        flex: none;
        max-width: 100%;
    }

    .product-main__thumb {
        aspect-ratio: auto;
        max-height: 360px;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 产品分享按钮 */
.product-share {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-share > span {
    color: var(--text-secondary);
    font-size: 14px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: #FFF;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.share-wechat:hover {
    border-color: #07C160;
    color: #07C160;
}

.share-weibo:hover {
    border-color: #E6162D;
    color: #E6162D;
}

.share-qq:hover {
    border-color: #12B7F5;
    color: #12B7F5;
}

.share-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 方案图片展示 */
.solution-gallery {
    margin-bottom: 30px;
}

.solution-gallery h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.gallery-item {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-base);
}

.gallery-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 咨询 CTA 区域 */
.solution-cta {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
}

.solution-cta h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.solution-cta p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 15px;
}

/* 相关解决方案 */
.related-solutions {
    margin-top: 30px;
}

.related-solutions h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 微信分享二维码弹窗 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.qr-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.qr-modal__box {
    position: relative;
    background: #FFF;
    border-radius: 12px;
    padding: 32px 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 1;
    min-width: 260px;
}

.qr-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.qr-modal__close:hover {
    color: #333;
}

.qr-modal__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.qr-modal__img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    min-height: 200px;
}

.qr-modal__img img {
    width: 200px;
    height: 200px;
    border: 4px solid #07C160;
    border-radius: 8px;
}

.qr-modal__loading {
    color: #999;
    font-size: 14px;
}

.qr-modal__tip {
    font-size: 13px;
    color: #999;
    max-width: 220px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   关于我们
   ========================================================================== */
.about-banner {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.about-banner img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

.about-body,
.about-content {
    line-height: 1.9;
    color: var(--text-main);
}

.about-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 企业荣誉 */
.honor-widget {
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    padding-top: 60px;
    padding-bottom: 30px;
}

.honor-widget h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 14px;
}

.honor-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.honor-card {
    text-align: center;
    padding: 24px 16px 28px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    height: 100%;
}

.honor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.honor-cert-img {
    width: 100px;
    height: auto;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
    transition: transform 0.3s ease;
}

.honor-card:hover .honor-cert-img {
    transform: scale(1.05);
}

.honor-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0;
    line-height: 1.5;
}

.about-subpages {
    margin-top: 30px;
}

.about-subpages h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.subpage-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    border-top: 3px solid var(--primary-color);
    height: 100%;
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
}

.subpage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
    border-top-color: var(--accent-color);
}

.subpage-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: rgba(26, 39, 68, 0.08);
    border: 1px solid rgba(26, 39, 68, 0.12);
    transition: var(--transition-base);
}

.subpage-card:hover i {
    background: var(--primary-color);
    color: #FFF;
    border-color: var(--primary-color);
}

.subpage-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.subpage-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-form-card,
.contact-info-card,
.map-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-card);
}

.contact-form-card h3,
.contact-info-card h3,
.map-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-gray);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 20px;
    color: #FFF;
    background: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.no-info {
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
}

.contact-content {
    margin-top: 30px;
}

.contact-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ==========================================================================
   空状态
   ========================================================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* ==========================================================================
   分页
   ========================================================================== */
.pagination-area {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-area .page-link {
    color: var(--primary-color);
}

.pagination-area .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(26, 39, 68, 0.3);
}

/* ==========================================================================
   回到顶部
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: var(--accent-color);
    color: #FFF;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-dark);
    color: #FFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   工具类
   ========================================================================== */
.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media screen and (max-width: 992px) {
    .hero-section .carousel-item,
    .banner-img {
        height: 350px;
    }

    .banner-caption h2 {
        font-size: 26px;
    }

    .banner-caption p {
        font-size: 15px;
    }

    .home-section {
        padding: 60px 0;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .sol-card__img {
        flex: 0 0 180px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 34px;
    }

    .cta-strip__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .hero-section .carousel-item,
    .banner-img {
        height: 250px;
    }

    .banner-caption {
        padding: 40px 20px 30px;
    }

    .banner-caption h2 {
        font-size: 20px;
    }

    .banner-caption p {
        font-size: 13px;
    }

    .home-section {
        padding: 50px 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-title-block h1 {
        font-size: 22px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .adv-item {
        padding: 20px 16px;
    }

    .sol-card {
        flex-direction: column;
    }

    .sol-card__img {
        flex: none;
        height: 200px;
    }

    .sol-card__img img {
        min-height: 200px;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 30px;
    }

    .news-featured__img img {
        height: 200px;
    }

    .cta-strip {
        padding: 36px 0;
    }

    .cta-strip__actions {
        flex-direction: column;
    }

    .btn-cta {
        justify-content: center;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item-img {
        flex: 0 0 auto;
    }

    .news-item-img img {
        width: 100%;
        height: 180px;
    }

    .news-nav {
        flex-direction: column;
        gap: 10px;
    }

    .next-news {
        text-align: left;
    }
}

/* ==========================================================================
   错误页（404 / 500 等）
   风格：深蓝渐变 + 网格纹理 + 工业红强调，与全站品牌一致
   ========================================================================== */
.error-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B1D33 0%, #1A2744 50%, #2C3E5A 100%);
    color: #FFF;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

/* 45° 太阳能电池板方格网格（与 page-header / hero 一致） */
.error-page::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
        linear-gradient(135deg, rgba(255,0,0,0.10) 0%, transparent 50%, rgba(44,62,90,0.15) 100%);
    pointer-events: none;
}

/* 双色径向光晕 */
.error-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 500px 250px at 20% 50%, rgba(255,0,0,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 80% 40%, rgba(44,62,90,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.error-page__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
}

.error-page .error-code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 6px;
    color: var(--accent-color);
    text-shadow: 0 0 40px rgba(255, 0, 0, 0.35);
    margin-bottom: 16px;
}

.error-page .error-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #FFF;
}

.error-page .error-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
}

.error-page .error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-page .btn-cta {
    padding: 13px 30px;
    border-radius: 4px;
}

.error-page .btn-cta--ghost {
    background: transparent;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.error-page .btn-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFF;
    color: #FFF;
    transform: translateY(-1px);
}

.error-page .error-contact {
    margin-top: 36px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.error-page .error-contact a {
    color: var(--accent-light);
    text-decoration: underline;
}

.error-page .error-contact a:hover {
    color: #FFF;
}

@media (max-width: 576px) {
    .error-page .error-code {
        font-size: 84px;
    }
    .error-page .error-title {
        font-size: 24px;
    }
}
