:root {
    --bg-end: rgb(239, 239, 243);
    --bg-start: rgb(197, 203, 213);
    --brand-blue: #00a1e9;
    /* 指定色系 */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    background-color: #fff;
    padding-top: 90px;
}

/* 使用 * 选择器覆盖所有元素，!important 确保最高优先级 */
*,
body,
button,
input,
select,
textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none !important;
    color: inherit !important;
    outline: none;
}
/* 导航栏样式优化 */
/* 导航栏样式深度优化 */
.navbar {
    padding: 1.2rem 0;
    /* 略微增加高度，更显大气 */
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    /* 顶部添加一条明显的品牌色边框，强化第一眼品牌印象 */
    border-top: 4px solid var(--brand-blue);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    /* 加粗 */
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--brand-blue) !important;
}

.nav-link {
    font-weight: 600;
    /* 导航文字加粗，使其更醒目 */
    color: #333 !important;
    margin: 0 18px;
    position: relative;
    transition: all 0.3s ease;
}

/* 悬停效果：文字变蓝 + 底部出现短横线 */
.nav-link:hover {
    color: var(--brand-blue) !important;
}
.active .nav-link{
    color: var(--brand-blue) !important;
}



.dropdown-toggle::after {
    display: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--brand-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
    /* 悬停时横线展开 */
}

/* 下拉菜单边框也同步品牌蓝 */
.dropdown-menu {
    border-top: 3px solid var(--brand-blue) !important;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.dropdown-item:hover {
    background-color: rgba(0, 161, 233, 0.1);
    /* 浅蓝色背景 */
    color: var(--brand-blue);
}

/* Swiper Banner 样式 */
.hero-swiper {
    width: 100%;
    height: 850px;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 修改 Swiper 分页器颜色为品牌蓝 */
.swiper-pagination-bullet-active {
    background: var(--brand-blue) !important;
}

/* 鼠标悬停显示下拉菜单 */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* 产品展示区域 */
.product-section {
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    padding: 80px 0;
}

.product-card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
}

.product-img-wrapper {
    margin-top: 40px;
    perspective: 1000px;
}

.product-img {
    max-width: 100%;
    height: auto;
    /*    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 8px solid #1a1a1a;*/
}

footer {
    padding: 60px 0;
    border-top: 1px solid #ddd;
}

footer h6 {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #666;
}

.hotline {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

/* 页脚链接样式 */
footer ul li a {
    text-decoration: none;
    color: #666 !important;
    /* 初始灰色 */
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--brand-blue) !important;
    /* 悬停变蓝 */
}



/* 列表行样式 */
.product-row {
    padding: 100px 0;
    align-items: center;
    border-bottom: 1px solid #eee;
}

/* 奇数行背景色微调，增加层次感 */
.product-row:nth-child(even) {
    background-color: var(--bg-light);
}

.product-text-content {
    padding: 0 5%;
}

.product-title2 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-subtitle2 {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.product-desc2 {
    font-size: 1rem;
    color: #777;
    margin-bottom: 2rem;
}

/* 图片样式：还原图片中的深色边框效果 */
.product-img-container {
    position: relative;
    transition: transform 0.4s ease;
}

.product-img-container:hover {
    transform: scale(1.02);
}

.product-display-img {
    width: 100%;
    height: auto;
}

/* 红色 MORE 按钮 */
.btn-more {
    background-color: #00a1e9;
    color: white !important;
    padding: 10px 35px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-more:hover {
    background-color: #0a73a3;
    color: white;
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.3);
}