/* 河南沃迈生物科技有限公司官网样式 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #1e88e5;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 容器 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 - 白色背景现代化风格 */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo容器 - 白色背景衬托黑色logo */
.logo {
    background: rgba(255, 255, 255, 1);
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: none;
}

.logo img {
    height: 50px;
    display: block;
    filter: invert(1); /* 反转颜色：白色字体变黑色 */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu > li > a:hover {
    color: #fff;
    background: #1e88e5;
}

/* 下拉菜单 */
.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.12);
    border-radius: 4px;
    display: none;
    z-index: 100;
    border: 1px solid rgba(30, 136, 229, 0.1);
}

.nav-menu li:hover .dropdown {
    display: block;
}

.dropdown li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.dropdown li a:hover {
    background: #1e88e5;
    color: #fff;
}

/* Banner轮播 */
.banner-section {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 450px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Banner控制按钮 */
.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dot.active {
    background: #1e88e5;
}

/* VR全景图/视频区域 */
.vr-section {
    background: #fff;
    padding: 20px 0;
}

/* 视频容器 */
/* 桌面端固定高度630px，手机端16:9自适应 */
.vr-container {
    width: 100%;
    height: 630px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
}

/* 手机端：使用16:9比例自适应，避免上下黑框 */
@media (max-width: 768px) {
    .vr-container {
        height: 170px;
        aspect-ratio: 16 / 9;
    }
}

.vr-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vr-section iframe {
    border-radius: 5px;
}

/* 公司简介 */
.company-intro {
    background: #fff;
    padding: 60px 0;
}

.company-intro .title {
    text-align: center;
    margin-bottom: 30px;
}

.company-intro .title h2 {
    font-size: 28px;
    color: #333;
}

.company-intro .content {
    display: flex;
    gap: 40px;
}

.company-intro .text {
    flex: 1;
    line-height: 1.8;
    color: #666;
    font-size: 18px;
}

.company-intro .image {
    flex: 1;
}

.company-intro .image img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.company-intro .image img:hover {
    transform: scale(1.02);
}

/* 公司简介联系方式 */
.company-intro .text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-intro .hotline-icon {
    margin-top: 20px;
}

.company-intro .hotline-icon img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.company-intro .hotline-text {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.company-intro .hotline-text span {
    color: #1e88e5;
    font-weight: bold;
}

/* 数据统计 */
.stats-section {
    background: #f5f7fa;
    padding: 60px 0;
    color: #333;
    position: relative;
    overflow: hidden;
}

/* 背景装饰 */
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(30, 136, 229, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(30, 136, 229, 0.02);
    border-radius: 50%;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(30, 136, 229, 0.08);
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.04);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.03);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.12);
    border-color: rgba(30, 136, 229, 0.2);
}

/* 图标容器 */
.stat-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.stat-item .icon i {
    font-size: 32px;
    color: #fff;
    transition: all 0.4s ease;
}

/* 图标hover动画 */
.stat-item:hover .icon {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.stat-item:hover .icon i {
    transform: scale(1.2);
}

/* 数字样式 */
.stat-item .number {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0 8px;
    line-height: 1.2;
    color: #1e88e5;
    transition: all 0.3s ease;
}

.stat-item:hover .number {
    transform: scale(1.05);
    color: #42a5f5;
}

/* 标签样式 */
.stat-item .label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.stat-item:hover .label {
    color: #1e88e5;
}

/* 兼容旧样式：如果icon内是img而非i */
.stat-item .icon img {
    width: 50px;
    height: 50px;
}

/* 产品展示 */
.products-section {
    background: #fff;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #1e88e5;
}

.section-title .subtitle {
    color: #999;
    margin-top: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(30, 136, 229, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.15);
    transform: translateY(-5px);
    border-color: #1e88e5;
}

.product-card .image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .info {
    padding: 15px;
}

.product-card .name {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card .desc {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
}

/* 公司风采 */
.gallery-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s;
}

.gallery-item {
    flex-shrink: 0;
    width: 280px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* 新闻中心 */
.news-section {
    background: #fff;
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgba(30, 136, 229, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
}

.news-card:hover {
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.12);
    border-color: #1e88e5;
}

.news-card .image {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    overflow: hidden;
}

.news-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.news-card .info {
    flex: 1;
}

.news-card .title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card .date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.news-card .summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.news-card .more {
    display: inline-block;
    margin-top: 10px;
    color: #1e88e5;
}

/* 页脚 - 深色背景图片 */
.footer {
    color: #fff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* 背景图片层 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/ftbg.jpg') center/cover no-repeat;
    z-index: 0;
}

/* 半透明深色遮罩层，让背景可见同时文字清晰 */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    flex-shrink: 0;
}

/* Footer logo - 白色logo在深蓝背景上直接显示，无需额外背景 */
.footer-logo img {
    height: 50px;
    display: block;
}

.footer-logo {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}

.footer-logo img {
    height: 50px;
    display: block;
}

.footer-top {
    display: flex;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav {
    flex: 1;
}

.footer-nav h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #fff;
}

.footer-contact {
    flex: 1;
}

.footer-contact h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom .icp-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* 产品列表页 */
.product-list-page {
    padding: 40px 0 60px;
}

.category-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
}

.category-nav a {
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 14px;
}

.category-nav a.active {
    background: #1e88e5;
    color: #fff;
}

/* 新闻列表页 */
.news-list-page {
    padding: 40px 0 60px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
}

.news-list-item .image {
    flex-shrink: 0;
    width: 250px;
    height: 160px;
}

.news-list-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 3px;
}

.pagination a.active {
    background: #1e88e5;
    color: #fff;
    border-color: #1e88e5;
}

/* 详情页 */
.detail-page {
    padding: 40px 0 60px;
}

.detail-header {
    margin-bottom: 30px;
}

.detail-header h1 {
    font-size: 24px;
    color: #333;
}

.detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
}
/* 如果希望图片无间距，可以添加 display: block; */
.detail-content img {
    max-width: 100%;
}

/* 后台管理样式 */
/* ============================================= */
/* 后台管理系统样式 - 统一风格 */
/* ============================================= */

/* 整体布局 */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

/* 侧边栏 */
.admin-sidebar {
    width: 240px;
    background: #001529;
    color: #fff;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.admin-sidebar .logo {
    padding: 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}

.admin-sidebar .logo h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1890ff;
}

.admin-sidebar .menu {
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
}

.admin-sidebar .menu li {
    margin: 4px 8px;
}

.admin-sidebar .menu li a {
    display: block;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

.admin-sidebar .menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.admin-sidebar .menu li a.active {
    background: #1890ff;
    color: #fff;
    font-weight: 500;
}

.admin-sidebar .menu li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 0 2px 2px 0;
}

/* 主内容区 */
.admin-main {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f5;
}

/* 顶部导航栏 */
.admin-header {
    height: 56px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-header > span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    display: flex;
    align-items: center;
}

/* 右侧功能区 */
.admin-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.admin-user-info {
    font-size: 14px;
    color: #595959;
    font-weight: 500;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 4px;
}

.admin-link {
    color: #595959;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.admin-link:hover {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.06);
    text-decoration: none;
}

.admin-header a.admin-btn {
    margin: 0;
}

/* 内容区域 */
.admin-content {
    padding: 24px;
    flex: 1;
}

/* 卡片组件 */
.admin-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-card h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.admin-card p,
.admin-card ul {
    margin: 0;
    color: #595959;
    line-height: 1.8;
}

.admin-card ul {
    padding-left: 20px;
}

.admin-card ul li {
    margin-bottom: 8px;
}

/* 表格组件 */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    background: #fafafa;
    padding: 14px 16px;
    font-weight: 600;
    color: #262626;
    text-align: left;
    border-bottom: 2px solid #e8e8e8;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #595959;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.2s;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.admin-table img {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 按钮组件 */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.4;
}

.admin-btn:hover {
    background: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    color: #fff;
    text-decoration: none;
}

.admin-btn:active {
    transform: translateY(0);
}

.admin-btn-secondary {
    background: #8c8c8c;
}

.admin-btn-secondary:hover {
    background: #a6a6a6;
    box-shadow: 0 4px 12px rgba(140, 140, 140, 0.3);
}

.admin-btn-danger {
    background: #ff4d4f;
}

.admin-btn-danger:hover {
    background: #ff7875;
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

.admin-btn-sm {
    padding: 4px 12px;
    font-size: 13px;
}

/* 操作按钮组 */
.admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 表单组件 */
.admin-form {
    max-width: 720px;
}

.admin-form .form-group {
    margin-bottom: 24px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #262626;
    font-size: 14px;
}

.admin-form label::after {
    content: ':';
    margin-left: 4px;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #262626;
    background: #fff;
    transition: all 0.25s;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.15);
}

.admin-form input:hover,
.admin-form textarea:hover,
.admin-form select:hover {
    border-color: #40a9ff;
}

.admin-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.admin-form input[type="file"] {
    padding: 8px 0;
    border: none;
}

.admin-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* 成功/错误消息 */
.admin-message-success {
    color: #52c41a;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.admin-message-error {
    color: #ff4d4f;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* 分页组件 */
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 0;
}

.admin-pagination span {
    color: #595959;
    font-size: 14px;
}

/* ============================================= */
/* 登录页面样式 */
/* ============================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
}

.login-box {
    width: 420px;
    background: #fff;
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #262626;
    font-size: 24px;
    font-weight: 600;
}

.login-box .form-group {
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.25s;
}

.login-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.login-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.login-box .error {
    color: #ff4d4f;
    background: #fff2f0;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ffccc7;
}

.page-banner {
    margin-top: 80px;
    height: 350px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* 关于我们页面 */
.about-page {
    padding: 0;
    background: #fff;
}

.about-layout {
    display: flex;
    gap: 0;
}

/* 左侧导航 */
.about-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 20px 0;
}

.sidebar-title {
    background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
    color: #fff;
    padding: 15px 20px;
}

.sidebar-title h3 {
    font-size: 18px;
    margin: 0;
}

.sidebar-nav {
    background: #fff;
    padding: 10px 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.sidebar-nav a:hover {
    background: #f5f5f5;
    color: #1e88e5;
}

.sidebar-nav a.active {
    background: #1e88e5;
    color: #fff;
}

.breadcrumb {
    background: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #1e88e5;
}

.breadcrumb i {
    margin: 0 5px;
    font-style: normal;
}

/* 右侧内容 */
.about-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    min-height: 500px;
}

.about-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.about-title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.about-subtitle {
    color: #999;
    font-size: 14px;
    margin-top: 8px;
}

.about-detail {
    display: block;
}

/* 图片区域 - 纵向排列 */
.about-images {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-images img {
    max-width: 100%; /* 图片宽度100% */
    width: 100%;
    border-radius: 5px;
    display: block;
}

.about-images img:last-child {
    margin-right: 0;
}

.about-text {
    line-height: 1.8;
}

.company-name {
    margin-bottom: 15px; /* 减小间距 */
    padding-bottom: 10px; /* 减小padding */
    border-bottom: 1px dashed #eee;
}

.company-name span {
    font-size: 24px; /* 字体从20px增加到24px */
    color: #1e88e5;
    font-weight: bold;
}

.company-intro {
    line-height: 1.8;
    color: #666;
    font-size: 16px; /* 字体从14px增加到16px */
}

.company-name span {
    font-size: 24px; /* 保持一致的字体大小 */
    color: #1e88e5;
    font-weight: bold;
}

.company-intro {
    color: #666;
    font-size: 16px; /* 保持一致的字体大小 */
}

.company-intro p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.hotline-icon {
    margin: 25px 0 15px;
}

.hotline-icon img {
    height: 40px;
    vertical-align: middle;
}

.hotline-text {
    font-size: 20px; /* 字体从18px增加到20px */
    color: #1e88e5;
    font-weight: bold;
}

.page-banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* 关于我们页面 */
.about-page {
    padding: 30px 0 60px;
    background: #ffffff;
}

.about-layout {
    display: flex;
    gap: 30px;
}

/* 左侧导航 */
.about-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.08);
}

.sidebar-title {
    background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
    color: #fff;
    padding: 18px 20px;
}

.sidebar-title h3 {
    font-size: 18px;
}

.sidebar-nav {
    background: #fff;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(30, 136, 229, 0.06);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav li a {
    display: block;
    padding: 14px 20px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-nav li a:hover {
    background: rgba(30, 136, 229, 0.06);
    color: #1e88e5;
}

.sidebar-nav li a.active {
    background: #1e88e5;
    color: #fff;
}

/* 右侧内容 */
.about-content {
    flex: 1;
    background: #fff;
    padding: 30px;
}

.about-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.about-title {
    font-size: 24px;
    color: #333;
}

.about-subtitle {
    color: #999;
    font-size: 14px;
    margin-top: 8px;
}

.about-detail {
    display: flex; /* 左右并排布局 */
    gap: 30px;
}

.about-images {
    width: 50%; /* 图片区域占50%宽度 */
    flex-shrink: 0;
    display: flex; /* 图片容器使用flex布局 */
    flex-direction: column; /* 图片上下排列 */
    gap: 15px; /* 图片之间的间距 */
}

.about-images img {
    width: 100%; /* 图片宽度100%填充容器 */
    height: auto; /* 高度自适应 */
    border-radius: 5px;
    display: block;
}

.about-text {
    width: 50%; /* 文字区域占50%宽度 */
}

.company-name {
    margin-bottom: 15px; /* 保持一致的间距 */
}

.company-name span {
    font-size: 24px; /* 保持一致的字体大小 */
    color: #1e88e5;
    font-weight: bold;
}

.company-intro {
    line-height: 1.8;
    color: #666;
    font-size: 16px; /* 保持一致的字体大小 */
}

.company-intro p {
    margin-bottom: 15px;
}

.hotline-icon {
    margin: 20px 0;
}

.hotline-icon img {
    width: 40px;
    height: 40px;
}

.hotline-text {
    font-size: 20px; /* 字体从18px增加到20px */
    color: #1e88e5;
    font-weight: bold;
}

/* 资质荣誉和厂区设备图片 */
.honor-gallery,
.facility-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.honor-gallery img,
.facility-gallery img {
    width: 45%;
    max-width: 400px;
    height: 280px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.honor-gallery img:hover,
.facility-gallery img:hover {
    transform: scale(1.05);
}

/* 资质荣誉展示 */
.honor-detail,
.facility-detail {
    display: block;
}

.honor-gallery,
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.honor-gallery img,
.facility-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.honor-gallery img:hover,
.facility-gallery img:hover {
    transform: scale(1.02);
}

/* ============================================= */
/* 响应式布局 - 手机端和微信公众号适配 */
/* ============================================= */

/* 汉堡菜单按钮样式 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1e88e5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 汉堡菜单激活状态（X形状） */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端导航菜单样式 */
.nav-menu-mobile {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.nav-menu-mobile.active {
    display: block;
}

.nav-menu-mobile > li {
    margin-bottom: 10px;
}

.nav-menu-mobile > li > a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.nav-menu-mobile .dropdown {
    display: none;
    padding-left: 15px;
    background: #f5f5f5;
    margin: 5px 0;
}

.nav-menu-mobile li.open .dropdown {
    display: block;
}

.nav-menu-mobile .dropdown li a {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
}

/* 平板端响应式 (769px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    /* 导航栏调整 */
    .nav-menu {
        gap: 15px;
    }

    .nav-menu > li > a {
        padding: 8px 15px;
        font-size: 14px;
    }

    /* Banner调整 */
    .banner-slider {
        height: 350px;
    }

    /* 公司简介 */
    .company-intro .content {
        gap: 20px;
    }

    /* 统计网格 - 4列 */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .stat-item .number {
        font-size: 26px;
    }$2
$2    .stat-item .icon {
        width: 55px;
        height: 55px;
    }

    .stat-item .icon i {
        font-size: 24px;
    }


    /* 产品网格 - 3列 */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* 公司风采 */
    .gallery-item {
        width: 220px;
    }

    /* 新闻网格保持2列 */
    .news-card .image {
        width: 160px;
        height: 110px;
    }

    /* 页脚 */
    .footer-top {
        gap: 20px;
    }

    /* 关于我们页面 */
    .about-sidebar {
        width: 180px;
    }

    .about-images {
        width: 250px;
    }

    /* 资质荣誉/厂区设备 */
    .honor-gallery,
    .facility-gallery {
        gap: 15px;
    }

    .honor-gallery img,
    .facility-gallery img {
        height: 200px;
    }
}

/* 手机端响应式 (≤768px) - 兼顾微信公众号 */
@media screen and (max-width: 768px) {
    /* 容器 */
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* 导航栏 - 显示汉堡菜单 */
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-inner {
        height: 60px;
    }

    .logo img {
        height: 40px;
    }

    /* Banner */
    .banner-section {
        margin-top: 60px;
    }

    .banner-slider {
        height: 200px;
    }

    .banner-controls {
        bottom: 10px;
    }

    .banner-dot {
        width: 8px;
        height: 8px;
    }

    /* 公司简介 */
    .company-intro {
        padding: 40px 0;
    }

    .company-intro .title h2 {
        font-size: 22px;
    }

    .company-intro .content {
        flex-direction: column;
        gap: 20px;
    }

    .company-intro .image img {
        max-width: 100%;
    }

    /* 统计网格 - 2列3行 */
    .stats-section {
        padding: 30px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item .icon {
        width: 50px;
        height: 50px;
    }

    .stat-item .icon i {
        font-size: 22px;
    }

    .stat-item .icon img {
        width: 40px;
        height: 40px;
    }

    .stat-item .number {
        font-size: 22px;
    }

    .stat-item .label {
        font-size: 12px;
    }

    /* 产品网格 - 2列 */
    .products-section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card .image {
        height: 150px;
    }

    .product-card .name {
        font-size: 14px;
    }

    .product-card .desc {
        font-size: 12px;
    }

    /* 公司风采 */
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-track {
        gap: 10px;
    }

    .gallery-item {
        width: 160px;
    }

    .gallery-item img {
        height: 120px;
    }

    /* 新闻网格 - 1列 */
    .news-section {
        padding: 40px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-card {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .news-card .image {
        width: 100%;
        height: 150px;
    }

    .news-card .title {
        font-size: 16px;
    }

    .news-card .summary {
        font-size: 13px;
    }

    /* 页脚 */
    .footer {
        padding: 30px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 25px;
    }

    .footer-nav h3,
    .footer-contact h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-bottom .copyright {
        font-size: 13px;
    }

    /* 页面Banner */
    .page-banner {
        margin-top: 60px;
        height: 200px;
    }

    .page-banner img {
        height: 200px;
    }

    /* 产品列表页 */
    .product-list-page {
        padding: 30px 0;
    }

    .category-nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .category-nav a {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* 新闻列表页 */
    .news-list-page {
        padding: 30px 0;
    }

    .news-list-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .news-list-item .image {
        width: 100%;
        height: 150px;
    }

    /* 详情页 */
    .detail-page {
        padding: 30px 0;
    }

    .detail-header {
        margin-bottom: 20px;
    }

    .detail-header a {
        display: inline-block;
        padding: 8px 12px;
        font-size: 14px;
        color: #1e88e5;
        background: rgba(30, 136, 229, 0.06);
        border-radius: 4px;
        margin-bottom: 12px;
    }

    .detail-header h1 {
        font-size: 20px;
    }

    .detail-content {
        padding: 15px;
        overflow-x: auto;
        word-wrap: break-word;
        word-break: break-all;
    }

    /* 产品详情内嵌表格/宽内容处理 */
    .detail-content table {
        width: 100%;
        min-width: 500px;
    }

    /* 关于我们页面 */
    .about-page {
        padding: 20px 0 40px;
    }

    .about-layout {
        flex-direction: column;
        gap: 0;
    }

    /* 侧边栏变为顶部导航 */
    .about-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .sidebar-title {
        padding: 12px 15px;
        cursor: pointer;
        position: relative;
    }

    .sidebar-title::after {
        content: '+';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
    }

    .sidebar-title.open::after {
        content: '-';
    }

    .sidebar-nav {
        display: none;
        background: #f5f5f5;
    }

    .sidebar-nav.active {
        display: block;
    }

    .breadcrumb {
        margin-top: 15px;
    }

    /* 关于我们内容 */
    .about-content {
        padding: 20px;
    }

    .about-title {
        font-size: 20px;
    }

    .about-detail {
        flex-direction: column;
        gap: 20px;
    }

    .about-images {
        width: 100%;
    }

    .about-images img {
        margin-bottom: 10px;
    }

    .about-text {
        width: 100%;
    }

    .company-name span {
        font-size: 18px;
    }

    .company-intro {
        font-size: 15px;
        line-height: 1.7;
    }

    .hotline-text {
        font-size: 16px;
    }

    /* 移动端侧边栏可触摸区域优化 */
    .sidebar-nav li a {
        padding: 13px 15px;
        font-size: 15px;
    }

    /* 资质荣誉/厂区设备 - 1列 */
    .honor-gallery,
    .facility-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .honor-gallery img,
    .facility-gallery img {
        height: 180px;
    }

    /* 分页 */
    .pagination {
        gap: 5px;
        margin-top: 20px;
    }

    .pagination a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* 极小屏幕 (< 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .banner-slider {
        height: 160px;
    }

    /* 统计网格 - 1列6行 */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 产品网格 - 1列 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-card .image {
        height: 180px;
    }

    .product-card .info {
        padding: 12px;
    }

    /* 公司风采 */
    .gallery-item {
        width: 140px;
    }

    .gallery-item img {
        height: 100px;
    }

    /* 新闻卡片 */
    .news-card .image {
        height: 120px;
    }

    /* 页脚 */
    .footer-links a {
        font-size: 12px;
        margin: 0 5px;
    }

    /* 关于我们 */
    .about-content {
        padding: 15px;
    }

    .about-title {
        font-size: 18px;
    }

    .about-detail {
        gap: 15px;
    }

    .company-name span {
        font-size: 16px;
    }

    .company-intro {
        font-size: 14px;
    }

    .company-intro p {
        text-indent: 1.5em;
    }

    .hotline-text {
        font-size: 15px;
    }

    .sidebar-nav li a {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* 详情页 */
    .detail-page {
        padding: 20px 0;
    }

    .detail-header h1 {
        font-size: 18px;
    }

    .detail-header a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .detail-content {
        padding: 12px;
        font-size: 14px;
    }
}

/* ========== 视频懒加载样式 ========== */
.video-lazy-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
    box-sizing: border-box;
}

.video-lazy-wrapper video {
    display: block;
    width: 100%;
    height: auto;
}

.video-lazy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.video-lazy-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-lazy-overlay:hover .video-lazy-play-btn svg circle {
    fill: rgba(0, 0, 0, 0.7);
}

.video-lazy-play-btn {
    transition: transform 0.2s ease;
}

.video-lazy-play-btn svg {
    width: 64px;
    height: 64px;
    display: block;
}

.video-lazy-overlay:hover .video-lazy-play-btn {
    transform: scale(1.1);
}

.video-lazy-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* 手机端适配：增大播放按钮，方便触摸 */
@media (max-width: 768px) {
    .video-lazy-play-btn svg {
        width: 80px;
        height: 80px;
    }
}

