@charset "utf-8";
/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body {
    margin-right: auto;
    margin-left: auto;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f4f5f7;
    color: #1e293b;
    line-height: 1.6;
}

/* ========== 导航栏（与主页完全一致） ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
   background: linear-gradient(to right, #eaf4ff, #ffffff);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #e0e4e8;
    z-index: 9999;/* 最高层级 */
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 24px;
}
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 1px;
	display: flex;
    align-items: center;
    gap: 1px;
}
.logo-tag {
    font-size: 0.85rem;       /* 精致小字 */
    font-weight: 600;         /* 半粗，清晰不飘 */
    color: #0066cc;           /* 创维蓝，与品牌统一 */
    letter-spacing: 0.03em;
    white-space: nowrap;
    background: rgba(0,102,204,0.06);  /* 极淡蓝底，增加层次 */
    padding: 4px 12px;
    border-radius: 20px;
}
.logo img {
    height: 80px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    font-weight: 600;                    /* 加粗，更饱满 */
    font-size: 0.95rem;
    text-decoration: none;
    color: #0f172a;                      /* 深黑，不发虚 */
    transition: color 0.3s;
    letter-spacing: 0.02em;              /* 稍加字距，更精致 */
}
.nav-links a:hover {
    color: #0066cc;
}
/* 导航当前页高亮下划线 */
.nav-links a[href*="index"]::after,
.nav-links a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #0066cc;
    margin-top: 4px;
    transition: width 0.3s;
}
/* ========== 高级下拉菜单 ========== */
.dropdown {
    position: relative;
}
.dropbtn {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #1e293b;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.dropdown:hover .dropbtn {
    color: #0066cc;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 12px 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 2000;
    list-style: none;
    margin: 0;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: inherit;
    border: 1px solid rgba(0,0,0,0.06);
    border-right: none;
    border-bottom: none;
    border-radius: 3px;
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    margin: 2px 4px;
    border-radius: 12px;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.dropdown-menu li a:hover {
    background: #e6f0fa;
    color: #0066cc;
    transform: translateX(2px);
}

/* 桌面端悬停显示 */
@media (hover: hover) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

/* ========== 页面主内容 ========== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 40px;
    position: relative;
    z-index: 1;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.03em;
}
h2 {
    font-size: 2.4rem;
    color: #0f172a;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* ========== 产品特点卡片 ========== */
#feature-block {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    gap: 24px;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#feature-block:hover {
    border-color: #0066cc;
    box-shadow: 0 6px 16px rgba(0,102,204,0.08);
    transform: translateY(-2px);
}
.feature-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
    color: #0066cc;
}
.feature-text h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0066cc;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.feature-text p, .feature-text ul {
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.7;
}
.feature-text ul {
    padding-left: 20px;
    margin-top: 10px;
}

/* 左侧图片占位区（去掉虚线） */
.feature-image {
    flex: 0 0 25%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
    overflow: hidden;
}
.feature-text {
    flex: 1;
}
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ========== 联系我们区块 ========== */
#contact .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 16px;
    padding: 36px 28px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#contact .about-content > div {
    flex: 1;
    min-width: 200px;
}
#contact .about-content p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 0.015em;
}

/* ========== 通用按钮 ========== */
.btn-primary {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #b5651d, #8b4513);
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}
.btn-primary:hover::before {
    left: 125%;
}
.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(181,101,29,0.3);
    transform: translateY(-2px);
}

/* 返回链接 */
.back-link {
    display: inline-block;
    margin-top: 40px;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #0066cc;
    padding: 8px 24px;
    border-radius: 20px;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.back-link:hover {
    background: #0066cc;
    color: #fff;
}

/* ========== 渐显动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal.visible {
    animation: fadeInUp 1.2s ease-out forwards;
}

/* ========== 页面纹理 ========== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}
.container, nav, footer, section {
    position: relative;
    z-index: 1;
}

/* ========== 通用卡片悬浮 ========== */
.card, .product-showcase, .news-list, .news-image, .about-content {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* ========== 段落优化 ========== */
p {
    line-height: 1.8;
    letter-spacing: 0.015em;
}

/* ========== 页脚 ========== */
footer {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid #e0e4e8;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* ========== 响应式 ========== */
@media (max-width: 640px) {
    #feature-block {
        flex-direction: column;
    }
    .feature-image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 2 / 1;
    }
}
.nav-links a {
    text-decoration: none !important;
}
.nav-links a::after {
    display: none !important;   /* 移除之前的高亮下划线 */
}