/**
 * ============================================================
 * 储能企业官网主样式表
 * 主色调: 深蓝 #0a1628 + 青色 #00d4ff + 亮蓝 #0084ff
 * 科技感设计: 毛玻璃、发光效果、渐变线条
 * ============================================================
 */

:root {
    --primary: #0084ff;
    --primary-light: #00d4ff;
    --primary-dark: #0066cc;
    --accent: #00e5a0;
    --dark: #0a1628;
    --dark-light: #111d32;
    --dark-lighter: #1a2942;
    --text: #e0e8f0;
    --text-muted: #8b9bb4;
    --border: rgba(0, 132, 255, 0.15);
    --glass: rgba(10, 22, 40, 0.75);
    --glass-light: rgba(0, 132, 255, 0.08);
    --glow: 0 0 20px rgba(0, 132, 255, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.25);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--dark);
    overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

/* ========== 顶部信息栏 ========== */
.top-bar {
    background: rgba(6, 12, 24, 0.95);
    color: var(--text-muted);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.top-bar i { color: var(--primary-light); margin-right: 5px; }

/* ========== 科技感导航栏 ========== */
.main-navbar {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 1030;
}

/* 导航栏底部发光线条 */
.main-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--primary-light) 50%, var(--primary) 70%, transparent 100%);
    opacity: 0.6;
}

/* ========== 品牌区域：LOGO + 公司名称 ========== */
.navbar-brand {
    font-size: 1.55rem;
    font-weight: 700;
    padding: 8px 0;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 65%;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

/* 品牌区域底部渐变光条 — hover时发光 */
.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 160, 0.8), rgba(0, 212, 255, 0.8), transparent);
    opacity: 0;
    filter: blur(0.5px);
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 2px;
}

.navbar-brand:hover::after {
    opacity: 1;
}

/* LOGO图片 */
.navbar-brand .brand-logo-img {
    height: 56px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 12px;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.2));
    transition: var(--transition);
}

/* hover：翡翠绿→天蓝色 多层渐变发光 */
.navbar-brand:hover .brand-logo-img {
    filter: drop-shadow(0 0 4px rgba(0, 229, 160, 0.6))
            drop-shadow(0 0 12px rgba(0, 229, 160, 0.35))
            drop-shadow(0 0 24px rgba(0, 212, 255, 0.3))
            drop-shadow(0 0 40px rgba(0, 180, 255, 0.15));
}

/* 默认图标（无LOGO时） */
.navbar-brand .brand-logo-icon {
    font-size: 1.9rem;
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    flex-shrink: 0;
    margin-right: 12px;
    transition: var(--transition);
}

/* hover：翡翠绿→天蓝色 多层渐变发光 */
.navbar-brand:hover .brand-logo-icon {
    color: #fff;
    text-shadow: 0 0 4px rgba(0, 229, 160, 0.9),
                 0 0 12px rgba(0, 229, 160, 0.6),
                 0 0 24px rgba(0, 212, 255, 0.5),
                 0 0 40px rgba(0, 180, 255, 0.3);
}

/* 公司名称文字 */
.navbar-brand .brand-text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    transition: var(--transition);
}

/* hover：翡翠绿→天蓝色 多层渐变发光 */
.navbar-brand:hover .brand-text {
    text-shadow: 0 0 4px rgba(0, 229, 160, 0.8),
                 0 0 10px rgba(0, 229, 160, 0.5),
                 0 0 20px rgba(0, 212, 255, 0.4),
                 0 0 35px rgba(0, 170, 255, 0.25);
}

/* 导航链接 */
.main-navbar .navbar-nav .nav-link {
    color: var(--text-muted) !important;
    padding: 22px 26px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    letter-spacing: 1px;
}

/* hover效果 - 发光下划线 */
.main-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 1px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.main-navbar .navbar-nav .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.main-navbar .navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* 当前页面激活状态 */
.main-navbar .navbar-nav .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.main-navbar .navbar-nav .nav-link.active::after {
    width: 60%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.5);
}

/* ========== 科技感汉堡菜单 ========== */
.navbar-toggler {
    border: 1.5px solid rgba(0, 212, 255, 0.5);
    background: rgba(0, 40, 80, 0.5);
    padding: 8px 10px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 12px rgba(0, 132, 255, 0.2);
    transition: var(--transition);
}

.navbar-toggler:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    background: rgba(0, 60, 120, 0.6);
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.25); }

/* 隐藏默认图标 */
.navbar-toggler-icon { display: none; }

/* 自定义三条渐变横线 */
.navbar-toggler {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 5px;
}

.navbar-toggler .toggler-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #00e5a0, #00d4ff);
    box-shadow: 0 0 8px rgba(0, 229, 160, 0.6), 0 0 16px rgba(0, 132, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.navbar-toggler .toggler-bar:nth-child(2) {
    width: 16px;
    background: linear-gradient(90deg, #00e5a0, #00d4ff);
}

.navbar-toggler:hover .toggler-bar {
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.8), 0 0 24px rgba(0, 132, 255, 0.5);
}

.navbar-toggler:hover .toggler-bar:nth-child(2) {
    width: 22px;
}

/* 展开状态 - 三条线变X */
.tech-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.tech-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.tech-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* ========== 轮播图 ========== */
.banner-carousel, .banner-carousel .carousel-item { height: 560px; }

.banner-carousel .carousel-item img {
    width: 100%; height: 100%; object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.5) 50%, rgba(0, 100, 180, 0.2) 100%);
}

.banner-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 850px;
}

.banner-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 0 30px rgba(0, 132, 255, 0.3);
    animation: fadeInDown 1s ease;
    letter-spacing: 2px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
    color: var(--text-muted);
}

/* 轮播图按钮 */
.banner-carousel .carousel-indicators button {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.3);
    border: 2px solid transparent;
    transition: var(--transition);
}
.banner-carousel .carousel-indicators button.active {
    background-color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
    width: 50px; height: 50px;
    top: 50%; transform: translateY(-50%);
    background: rgba(0, 132, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}
.banner-carousel:hover .carousel-control-prev,
.banner-carousel:hover .carousel-control-next { opacity: 1; }
.banner-carousel .carousel-control-prev:hover,
.banner-carousel .carousel-control-next:hover {
    background: rgba(0, 132, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.3);
}

/* ========== 通用板块 ========== */
.section-padding { padding: 50px 0; }

.section-title { text-align: center; margin-bottom: 55px; }

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.section-title p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1rem;
}

/* ========== 特色卡片 ========== */
.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: var(--dark-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部发光线 */
.feature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 132, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 132, 255, 0.1), inset 0 1px 0 rgba(0, 212, 255, 0.1);
}

.feature-box:hover::before { opacity: 1; }

.feature-icon {
    width: 70px; height: 70px;
    line-height: 70px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0 auto 22px;
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.1);
}

.feature-box:hover .feature-icon {
    background: rgba(0, 132, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.feature-box h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== 产品卡片 ========== */
.product-card {
    background: var(--dark-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 132, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 132, 255, 0.12);
}

.product-card:hover::before { opacity: 1; }

.product-img {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 22, 40, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay { opacity: 1; }

.product-info { padding: 16px 20px 18px; }

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #fff;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ========== 应用场景卡片 ========== */
.app-card {
    background: var(--dark-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 132, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 132, 255, 0.12);
}

.app-card:hover::before { opacity: 1; }

.app-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.app-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.app-card:hover .app-img img { transform: scale(1.05); }

.app-info {
    padding: 25px;
    text-align: center;
}

.app-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.app-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== 公司简介页 ========== */
.about-content {
    line-height: 1.9;
    color: var(--text);
}
.about-content p { margin-bottom: 15px; }

.about-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 132, 255, 0.1);
}
.about-img img { width: 100%; height: auto; }

/* 企业文化 */
.culture-item {
    padding: 30px;
    background: var(--dark-light);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
}

.culture-item:hover {
    background: var(--dark-lighter);
    border-color: rgba(0, 132, 255, 0.3);
    border-left: 3px solid var(--primary-light);
    box-shadow: 0 5px 20px rgba(0, 132, 255, 0.08);
}

.culture-item h4 {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 600;
}

/* 发展历程 */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%; width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light), transparent);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px; top: 25px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--dark);
    border: 3px solid var(--primary-light);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.timeline-year {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
}

.timeline-text { color: var(--text-muted); margin-top: 5px; }

/* ========== 产品列表页 ========== */
.product-filter { margin-bottom: 35px; }
.product-filter .btn {
    margin: 4px;
    border-radius: 25px;
    padding: 8px 24px;
    border-color: var(--border);
    color: var(--text-muted);
    background: transparent;
}
.product-filter .btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: var(--glass-light);
}
.product-filter .btn-outline-primary.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
}

/* 产品详情页 */
.product-detail-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.product-detail-info h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.product-detail-info .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

/* Product Specifications 渐变边框卡片 */
.spec-card {
    background: linear-gradient(135deg, #00e5a0 0%, #00d4ff 50%, #0084ff 100%);
    padding: 2px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.15), 0 0 50px rgba(0, 229, 160, 0.08);
    transition: var(--transition);
}

.spec-card:hover {
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.25), 0 0 70px rgba(0, 229, 160, 0.12);
}

.spec-card-inner {
    background: var(--dark-light);
    border-radius: 10px;
    overflow: hidden;
}

.spec-header {
    background: rgba(0, 132, 255, 0.08) !important;
    border-bottom: 1px solid rgba(0, 132, 255, 0.2);
    color: #fff;
}

.spec-header h4 {
    color: #fff;
    font-weight: 600;
}

.spec-header i {
    color: var(--primary-light);
}

.spec-body {
    color: #fff;
}

.spec-body .product-description {
    color: #fff;
    line-height: 1.8;
}

.spec-body .product-description h1,
.spec-body .product-description h2,
.spec-body .product-description h3,
.spec-body .product-description h4,
.spec-body .product-description h5,
.spec-body .product-description h6 {
    color: #fff;
    margin-bottom: 15px;
}

.spec-body .product-description p {
    color: #fff;
    margin-bottom: 12px;
}

.spec-body .product-description ul,
.spec-body .product-description ol {
    color: #fff;
    padding-left: 20px;
    margin-bottom: 15px;
}

.spec-body .product-description ul li,
.spec-body .product-description ol li {
    color: #fff;
    margin-bottom: 8px;
}

.spec-body .product-description table {
    color: #fff;
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

.spec-body .product-description th {
    background: var(--dark-lighter);
    color: #fff;
    border: 1px solid var(--border);
    padding: 10px 15px;
    text-align: left;
}

.spec-body .product-description td {
    border: 1px solid var(--border);
    color: #fff;
    padding: 10px 15px;
}

.spec-body .product-description strong,
.spec-body .product-description b {
    color: var(--primary-light);
}

.spec-body .product-description a {
    color: var(--primary-light);
    text-decoration: underline;
}

.spec-body .product-description a:hover {
    color: var(--accent);
}

/* ========== 技术支持页 ========== */
.faq-item {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(0, 132, 255, 0.25); }

.faq-question {
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 132, 255, 0.05);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 132, 255, 0.1);
}

.faq-question i { color: var(--primary-light); transition: var(--transition); }
.faq-question.collapsed i { transform: rotate(-90deg); }

.faq-answer {
    padding: 20px 25px;
    color: var(--text);
    line-height: 1.8;
    border-top: 1px solid var(--border);
}

/* ========== 联系我们页 ========== */
.contact-info-box {
    background: var(--dark-light);
    border-radius: 12px;
    padding: 25px 20px;
    border: 1px solid var(--border);
    height: 100%;
}

.contact-info-box p.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px; height: 50px;
    min-width: 50px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(0, 132, 255, 0.1);
}

.contact-text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.contact-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form-box {
    background: var(--dark-light);
    border-radius: 12px;
    padding: 35px;
    border: 1px solid var(--border);
}

.contact-form-box h3 {
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

.form-control, .form-select {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    background: rgba(10, 22, 40, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 132, 255, 0.15);
    color: var(--text);
}

.form-control::placeholder { color: var(--text-muted); }

/* ========== 页脚 ========== */
.main-footer {
    background: #060c18;
    color: var(--text-muted);
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.main-footer h5 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.main-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.footer-contact i {
    color: var(--primary-light);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 1rem;
}

.social-links { margin-top: 20px; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    margin-right: 10px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 132, 255, 0.3);
}

.copyright-bar {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-link { color: var(--text-muted); font-size: 0.85rem; }
.admin-link:hover { color: var(--primary-light); }

/* ========== 面包屑导航 ========== */
.page-banner {
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0a1628 100%);
    padding: 25px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

/* 页面横幅装饰网格 */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0, 132, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 132, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;   /* 点击穿透装饰层 */
}

.page-banner h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.breadcrumb { background: none; padding: 0; margin: 10px 0 0 0; position: relative; z-index: 10; }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--primary-light); }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ========== 按钮样式 ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 10px 28px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.35);
    background: linear-gradient(135deg, #0088ff 0%, var(--primary) 100%);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 10px 28px;
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-outline-light:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-light);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ========== 动画 ========== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== 辅助样式 ========== */
.bg-light-gray { background: #0e1c30; }

.text-primary { color: var(--primary-light) !important; }

.badge { font-weight: 500; }
.badge.bg-info { background: rgba(0, 132, 255, 0.2) !important; color: var(--primary-light); }
.badge.bg-success { background: rgba(0, 229, 160, 0.2) !important; color: #00e5a0; }

.card {
    background: var(--dark-light);
    border: 1px solid var(--border);
}
.card-header { background: var(--dark-lighter); border-bottom: 1px solid var(--border); }

.table { color: var(--text); }
.table th { background: var(--dark-lighter); color: #fff; border-color: var(--border); }
.table td { border-color: var(--border); }

.page-link {
    background: var(--dark-light);
    border-color: var(--border);
    color: var(--text);
}
.page-link:hover { background: var(--dark-lighter); border-color: var(--primary); color: var(--primary-light); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.page-item.disabled .page-link { background: var(--dark-light); border-color: var(--border); color: var(--text-muted); }

/* 统计数字 */
.stats-section {
    background: linear-gradient(135deg, #081222 0%, #0d2038 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 132, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.stats-item { text-align: center; position: relative; z-index: 1; }

.stats-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label { font-size: 0.95rem; color: var(--text-muted); }

.view-more { text-align: center; margin-top: 45px; }

.alert-danger { background: rgba(220, 53, 69, 0.1); border-color: rgba(220, 53, 69, 0.3); color: #ff6b7a; }
.alert-success { background: rgba(25, 135, 84, 0.1); border-color: rgba(25, 135, 84, 0.3); color: #00e5a0; }

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 45px; height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.4);
    border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.5);
}

/* ========== 响应式 ========== */
@media (max-width: 991.98px) {
    .banner-carousel, .banner-carousel .carousel-item { height: 420px; }
    .banner-content h2 { font-size: 2rem; }
    .banner-content p { font-size: 1rem; }
    .main-navbar .navbar-nav .nav-link { padding: 12px 15px; }
    .section-padding { padding: 55px 0; }
    .section-title h2 { font-size: 1.7rem; }
    .stats-number { font-size: 2.2rem; }
}

@media (max-width: 767.98px) {
    .banner-carousel, .banner-carousel .carousel-item { height: 320px; }
    .banner-content h2 { font-size: 1.6rem; }
    .banner-content p { font-size: 0.9rem; }
    .section-padding { padding: 45px 0; }
    .section-title { margin-bottom: 35px; }
    .section-title h2 { font-size: 1.5rem; }
    .stats-number { font-size: 1.8rem; }
    .contact-info-box, .contact-form-box { padding: 25px; }
}

@media (max-width: 575.98px) {
    .banner-carousel, .banner-carousel .carousel-item { height: 260px; }
    .banner-content h2 { font-size: 1.3rem; }
}

/* 表格样式 */
.table-bordered td, .table-bordered th { border-color: var(--border); }

/* 下拉菜单 */
.dropdown-menu {
    background: var(--dark-light);
    border: 1px solid var(--border);
}
.dropdown-item { color: var(--text); }
.dropdown-item:hover { background: var(--dark-lighter); color: var(--primary-light); }

/* 品牌区域响应式适配 */
@media (max-width: 1199.98px) {
    .navbar-brand {
        font-size: 1.35rem;
        max-width: 55%;
    }
    .navbar-brand .brand-logo-img {
        height: 32px;
        max-width: 130px;
        margin-right: 10px;
    }
    .navbar-brand .brand-logo-icon {
        font-size: 1.7rem;
        margin-right: 10px;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.2rem;
        max-width: 50%;
    }
    .navbar-brand .brand-logo-img {
        height: 30px;
        max-width: 120px;
        margin-right: 8px;
    }
    .navbar-brand .brand-logo-icon {
        font-size: 1.5rem;
        margin-right: 8px;
    }
    .navbar-collapse {
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(20px);
        padding: 15px;
        border-radius: 0 0 12px 12px;
        border: 1px solid var(--border);
        border-top: none;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.05rem;
        max-width: 55%;
    }
    .navbar-brand .brand-logo-img {
        height: 26px;
        max-width: 100px;
        margin-right: 6px;
    }
    .navbar-brand .brand-logo-icon {
        font-size: 1.3rem;
        margin-right: 6px;
    }
}

/* ========== products.php 产品分类按钮 — 移动端专属样式（只在该页面生效） ========== */
@media (max-width: 767.98px) {
    .product-filter-mobile {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 8px;          /* 纵向10px / 横向8px */
        margin-bottom: 25px;
    }

    .product-filter-mobile .btn {
        white-space: nowrap;     /* 按钮文字不换行 */
        flex-shrink: 0;          /* 按钮不被压缩变形 */
        padding: 7px 16px;       /* 略小但仍保持点击区域 */
        font-size: 0.85rem;
    }
}

/* ========== 新闻列表页 / 新闻详情页 ========== */

/* 新闻卡片 —— 参考 dyness.com 交互效果 */
.news-card {
    background: var(--dark-light);
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 1 / 1.1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 18px;
}

/* 卡片底部彩色渐变条 —— hover 时从中间向两边展开 */
.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00e5a0, #00d4ff, #0084ff, transparent);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.news-card:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.08);
}

.news-card:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* 图片区域 —— 基础：高度55% 宽度100% 圆角 */
.news-img {
    position: relative;
    overflow: hidden;
    height: 55%;
    width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

/* hover：直角 宽度100% */
.news-card:hover .news-img {
    border-radius: 0;
    width: 100%;
}

.news-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-img img { transform: scale(1.05); }

.news-img-placeholder {
    width: 100%; height: 100%;
    background: var(--dark-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-img-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
}

.news-info {
    padding: 18px 0px 14px;
}

.news-info h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

/* Read More —— 基础白色，hover 变绿色 */
.news-readmore {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    gap: 5px;
}

.news-readmore i {
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

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

.news-card:hover .news-readmore i {
    transform: translateX(4px);
    color: var(--accent);
}

/* 新闻详情页 */
.news-detail {
    background: var(--dark-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    padding: 40px;
    position: relative;
}

.news-detail::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.news-detail-meta {
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

.news-detail-content {
    color: #fff;
    line-height: 1.8;
    font-size: 1rem;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
    color: #fff;
    margin-bottom: 15px;
    margin-top: 25px;
}

.news-detail-content p {
    color: #fff;
    margin-bottom: 15px;
}

.news-detail-content ul,
.news-detail-content ol {
    color: #fff;
    padding-left: 25px;
    margin-bottom: 15px;
}

.news-detail-content li {
    margin-bottom: 8px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.news-detail-content table {
    color: #fff;
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

.news-detail-content th {
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    padding: 10px 15px;
    text-align: left;
}

.news-detail-content td {
    border: 1px solid var(--border);
    padding: 10px 15px;
}

.news-detail-content strong,
.news-detail-content b {
    color: var(--primary-light);
}

.news-detail-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* 标题与日期分割线 */
.news-detail-divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 132, 255, 0.15); /* 和你的 --border 变量一致 */
    margin: 18px 0;
}

/* 上一篇 / 下一篇导航 */
.news-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-top: 10px;
}

.news-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-nav-item--right {
    text-align: right;
    align-items: flex-end;
}

.news-nav-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.news-nav-label i {
    font-size: 0.7rem;
}

.news-nav-link {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-nav-link:hover {
    color: var(--primary-light);
}

.news-nav-link.disabled {
    color: var(--text-muted);
    cursor: default;
}

/* 新闻详情页视频响应式 — 竖屏/横屏自动适配 */
.news-detail-content video,
.news-detail video {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    aspect-ratio: auto;
    object-fit: contain;
}

/* 新闻页面响应式 */
@media (max-width: 991.98px) {
    .news-detail { padding: 30px; }
    .news-detail-title { font-size: 1.5rem; }
    .news-img { height: 200px; }
}

@media (max-width: 767.98px) {
    .news-detail { padding: 20px; }
    .news-detail-title { font-size: 1.25rem; }
    .news-img { height: 180px; }
}

/* ========== Download Center (Support Page) ========== */
.doc-list {
    max-width: 800px;
    margin: 0 auto;
}

.doc-item {
    display: flex;
    align-items: center;
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
    transition: var(--transition);
    position: relative;
}

.doc-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doc-item:hover {
    border-color: rgba(0, 132, 255, 0.3);
    box-shadow: 0 5px 25px rgba(0, 132, 255, 0.08);
}

.doc-item:hover::before {
    opacity: 1;
}

.doc-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-right: 18px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.doc-icon .bi-file-earmark-pdf { color: #ff6b6b; }
.doc-icon .bi-file-earmark-excel { color: #00e5a0; }
.doc-icon .bi-file-earmark-word { color: #4dabf7; }
.doc-icon .bi-file-earmark-slides { color: #ffa94d; }
.doc-icon .bi-file-earmark-text { color: #adb5bd; }

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.doc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(0, 132, 255, 0.25);
    margin-left: 15px;
}

.doc-download-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.35);
}

.doc-download-btn i {
    font-size: 0.9rem;
}

/* Download Center 响应式 */
@media (max-width: 767.98px) {
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 18px;
    }

    .doc-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .doc-info h4 {
        white-space: normal;
    }

    .doc-download-btn {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}