/* ============================================================
   仅用于产品页导航与页脚的样式 —— 抽取自首页 css/style.css
   作用域限定在 .nav / .footer，避免影响产品页自身内容样式。
   ============================================================ */
@import url('footer.css');

:root {
--accent: #e85d3b;
    --accent-hover: #d04a2a;
    --accent-soft: rgba(232, 93, 59, 0.08);
    --accent-glow: rgba(232, 93, 59, 0.18);
    --indigo: #4f46e5;
    --violet: #7c3aed;
    --bg: #f8f9fa;
    --bg-soft: #f3f4f6;
    --surface: #ffffff;
    --text: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border: rgba(0,0,0,0.06);
    --border-strong: rgba(0,0,0,0.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02);
    --shadow: 0 4px 20px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 70px rgba(0,0,0,0.11), 0 8px 24px rgba(0,0,0,0.05);
    --content: 1120px;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}
.nav {
position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
top: 0;
    padding: 0;
}
.nav-inner {
position: relative;
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: calc(var(--content) + 48px);
    margin: 0 auto;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 100px;
    padding: 10px 12px 10px 22px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled .nav-inner {
max-width: 100%;
    border-radius: 0;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: none;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
    padding: 12px 5vw;
}
.nav-logo {
display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}
.nav-logo img {
height: 30px; width: auto;
}
.nav-links {
display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-left: auto;
}
.nav-links > li > a,
.nav-menu-trigger {
text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: 50px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.nav-links > li > a:hover,
.nav-menu-trigger:hover {
color: var(--text);
    background: rgba(0,0,0,0.03);
}
.nav-item-has-menu {
position: relative;
}
.nav-menu-trigger .chev {
width: 12px;
    height: 12px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item-has-menu:hover .nav-menu-trigger .chev {
transform: rotate(180deg);
}
.nav-dropdown {
position: fixed; /* 脱离 .nav-inner 的 backdrop-root，毛玻璃直接模糊页面 */
    top: 0;
    left: 0;
    z-index: 1001; /* 高于导航栏的 z-index: 1000 */
    padding-top: 14px; /* 桥接悬停空隙，避免移入时关闭 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.85);
    transform-origin: top center;
    transition: opacity 0.3s ease,
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
}
.nav-dropdown.is-open {
opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.nav-dropdown-inner {
display: block;
    padding: 10px;
    position: relative;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
    overflow: hidden;
}
.nav-drop-cats {
display: flex;
    flex-direction: column;
    gap: 2px;
    width: 240px;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
}
.nav-cat-wrap {
display: flex;
    flex-direction: column;
}
.nav-cat {
display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nav-cat:hover {
background: rgba(255,255,255,0.85);
    color: var(--text);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.nav-cat.active {
background: rgba(255,255,255,0.92);
    color: var(--accent);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
}
.nav-cat.has-children::after {
content: "";
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.4;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-cat.active.has-children::after {
transform: rotate(-135deg);
    opacity: 0.7;
}
.nav-drop-ic {
width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 93, 59, 0.18), rgba(124, 58, 237, 0.18));
    color: var(--accent);
}
.nav-drop-ic svg {
width: 19px; height: 19px;
}
.nav-drop-title {
font-weight: 700;
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.nav-drop-flyout {
display: none !important;
}
.nav-cat-panel {
display: none;
    flex-direction: column;
    gap: 4px;
    padding: 4px 6px 8px 12px;
    animation: navPanelIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-cat-panel.active {
display: flex;
}
.nav-cat-sub {
display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.nav-cat-sub::before {
content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    transition: background 0.18s ease;
}
.nav-cat-sub:hover {
background: rgba(79, 70, 229, 0.10);
    color: var(--indigo);
    transform: translateX(3px);
}
.nav-cat-sub:hover::before {
background: var(--indigo);
}
.nav-cta {
background: var(--accent) !important;
    color: #fff !important;
    padding: 9px 20px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-cta:hover {
background: var(--accent-hover) !important;
    transform: translateY(-1px);
}
.nav-toggle {
display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-links.open {
display: flex;
        flex-direction: column;
        position: absolute;
        z-index: 10;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        background: rgba(255,255,255,0.86);
        backdrop-filter: blur(28px) saturate(200%);
        -webkit-backdrop-filter: blur(28px) saturate(200%);
        border: 1px solid rgba(255,255,255,0.85);
        border-radius: 24px;
        padding: 18px;
        gap: 6px;
        box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.6);
        animation: navDropIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav-links.open a {
width: 100%; text-align: center; padding: 12px;
}
.nav-links.open .nav-cta {
margin-top: 8px;
}
@media (max-width: 768px) {
.nav {
top: 12px; padding: 0 12px;
}
.nav.scrolled {
padding: 0;
}
.nav-links {
display: none;
}
.nav-toggle {
display: flex;
}
.nav-inner {
padding: 8px 10px 8px 18px;
}
.nav.scrolled .nav-inner {
padding: 10px 4vw;
}
.nav-item-has-menu {
position: static; width: 100%;
}
.nav-menu-trigger {
width: 100%; justify-content: center;
}
.nav-dropdown {
position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: auto;
        max-height: 76vh;
        overflow-y: auto;
        padding-top: 0;
        margin-top: 0;
        transform: translateY(8px);
}
.nav-dropdown.is-open {
opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
}
.nav-dropdown-inner {
display: block;
        padding: 10px;
        background: rgba(255,255,255,0.78);
        backdrop-filter: blur(28px) saturate(200%);
        -webkit-backdrop-filter: blur(28px) saturate(200%);
        border: 1px solid rgba(255,255,255,0.85);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
        border-radius: 16px;
        transform: none;
}
.nav-drop-cats {
flex-direction: column;
        width: 100%;
        border-right: none;
        background: transparent;
}
.nav-cat {
width: 100%;
}
.nav-cat-panel {
padding: 4px 6px 8px 12px;
}
}

/* 产品页首屏为普通文档流，固定导航需预留顶部空间避免遮挡 */
body {
    padding-top: 76px;
}

/* PC 端：所有容器去掉左右内边距（覆盖 Bootstrap .container） */
@media (min-width: 769px) {
    .container {
        padding: 0;
    }
}

