@charset "utf-8";
/* CSS Document */

/* ==========================================================================
    1. Root Variables & Base Styles
    ========================================================================== */

:root {
    --bg-dark: #08080A;
    --color-gold: #D4AF37;
    --color-text: #C0C4CC;
    --neon-blue: #F9CC2F;
    --neon-green: #FBE200;
    
    --led-on-glow: 
        0 0 25px rgba(255,190,0,0.40),
        0 0 50px rgba(255,207,5,0.20),
        inset 0 0 20px rgba(252,251,5,0.15);
    
    /* 建议补充的光效变量 */
    --led-pop-glow: 0 15px 35px rgba(248, 209, 43, 0.4);
	
	
    --bg-panel: #181818;
    --text-main: #F2F0E8;
    --text-muted: #888888;
    --line: #292929;
    --earth: #8F7A52;
    --gold: #C8A96B;

}

/* Universal Reset - 已修正 '-' 为 '*' */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}


html {
	scroll-behavior: smooth;
	overflow-y: scroll; /* 强制显示垂直滚动条，防止布局抖动 */
}

body {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    background-color: var(--bg-dark);
    color: var(--color-text);
    padding: 6rem 0 0 0; /* 防止与固定底部栏重叠的间距 */
    min-height: 100vh;
    overflow-x: hidden;

    /* 微网格背景纹理 */
    background-image: linear-gradient(135deg, 
        #090A0E 25%, #10121A 25%, 
        #10121A 50%, #090A0E 50%, 
        #090A0E 75%, #10121A 75%, #10121A 100%);
    background-size: 6px 6px;
    transition: filter 0.4s ease;
	  display: flex;
    flex-direction: column;
}


a {
  color: inherit;
  text-decoration: none;
}

/* 自定义字体声明 */
@font-face {
    font-family: 'CompanyTitle'; 
    src: url('fonts/DML.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'SubHeadingFont'; 
    src: url('fonts/DMM.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}


.stage {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    
	padding-top: 60px;
}

/* ==========================================================================
    2. Top Navigation Bar (Fixed Layout)
    ========================================================================== */

/* 默认：桌面端隐藏汉堡菜单 */
.mobile-menu-toggle {
    display: none;
}



/* 固定顶部栏容器 */
.topbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0) !important; 
    
    width: 90%;
    max-width: 1500px;
    background: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(12px);
    
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: none;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    gap: 20px;
}

/* 品牌 Logo */
.topbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
    font-family: 'CompanyTitle', serif;
    font-weight: bold;
    font-size: 1.5rem;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.topbar-logo a {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
   height: 32px;
    width: 32px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-gold);
    white-space: nowrap;
    line-height: 1;
}


/* ========================================
   TOP NAVIGATION - CLEAN TEXT STYLE
======================================== */

/* 顶部整体高度 */
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 30px;
    gap: 20px;
}


/* 导航整体 */
.topbar-nav {
    display: flex;
    align-items: center;
}

.topbar-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 导航链接 */
.topbar-nav ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 7px 2px;

    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    color: #F7F5F5;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

    transition: color 0.25s ease;
}


/* ========================================
   PRODUCTS DROPDOWN MENU
======================================== */

/* Products 主菜单 */
.topbar-nav .has-dropdown {
    position: relative;
}

/* 下拉箭头 */
.topbar-nav .dropdown-arrow {
    font-size: 9px !important;
    margin-left: 2px;
    color: #A0A5B5;
    transition: transform 0.25s ease;
}

/* 鼠标悬停箭头旋转 */
.topbar-nav .has-dropdown:hover .dropdown-arrow {
    color: var(--color-gold);
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.topbar-nav .products-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;

    min-width: 210px;
    padding: 10px 0;
    margin: 0;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    list-style: none;

    background: rgba(15, 17, 21, 0.97);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.45);

    z-index: 1100;
}

/* 悬停显示 */
.topbar-nav .has-dropdown:hover > .products-dropdown,
.topbar-nav .has-dropdown:focus-within > .products-dropdown {
    display: flex;
}

/* 下拉菜单链接 */
.topbar-nav .products-dropdown li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    padding: 12px 20px;

    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    color: #E5E5E5;
    font-size: 13px;
    font-weight: 400;

    transform: none;
}

/* 下拉菜单悬停 */
.topbar-nav .products-dropdown li a:hover {
    color: var(--color-gold);
    background: rgba(200,169,107,0.10);
    border: none;
    box-shadow: none;
    transform: none;
}

/* 下拉菜单不显示当前页面底线 */
.topbar-nav .products-dropdown li a::after {
    display: none;
}
/* 图标 */
.topbar-nav ul li a i {
    color: #A0A5B5;
    font-size: 14px;
    transition: color 0.25s ease;
}

/* 鼠标悬停 */
.topbar-nav ul li a:hover {
    color: var(--color-gold);
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
}

.topbar-nav ul li a:hover i {
    color: var(--color-gold);
    filter: none;
}

/* 当前页面 */
.topbar-nav ul li a.active {
    color: var(--color-gold);
    background: transparent;
    border: none;
    box-shadow: none;
    font-weight: 600;
}

/* 当前页面图标 */
.topbar-nav ul li a.active i {
    color: var(--color-gold);
    filter: none;
}

/* 当前页面底部金色细线 */
.topbar-nav ul li.active > a::after,
.topbar-nav ul li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;

    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
}

/* 当前页面悬停 */
.topbar-nav ul li a.active:hover {
    color: #F8D12B;
    transform: none;
    box-shadow: none;
}

.topbar-nav ul li a.active:hover i {
    color: #F8D12B;
}

.topbar-nav li.active > a {
    color: var(--color-gold) !important;
}

.topbar-nav li.active > a i {
    color: var(--color-gold) !important;
}

/* 右侧表头 / 社交联系方式盒子 */
.topbar-right {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 100px;
}

.topbar-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
    color: #8a8f9d;
}

.topbar-contact span i {
    color: var(--color-gold);
    margin-right: 5px;
}

#js-social-box, 
.topbar-right .social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

#js-social-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

#js-social-box a svg {
    width: 18px;
    height: 18px;
    fill: #a0a5b5;
    transition: fill 0.3s ease, transform 0.3s ease;
}

#js-social-box a:hover {
    background: rgba(255,214,0,0.12);
    border-color: rgba(255,229,0,0.40);
    box-shadow: 0 0 12px rgba(248,255,0,0.30);
    transform: translateY(-2px);
}

#js-social-box a:hover svg {
    fill: var(--color-gold);
}

/* ==========================================================================
    3. Footer & Modal Component
    ========================================================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1500px;
    height: 40px;
    background: rgba(15, 17, 21, 0.92); 
    backdrop-filter: blur(12px);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    z-index: 9000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
	/*not showing for now */


}

.footer-left span {
    color: #a0a5b5;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer-left a {
    color: #a0a5b5;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-left a:hover {
    color: var(--neon-gold);
}



.footer-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}



.footer-right span {
    font-size: 0.8rem;
    color: #8a8f9d;
    letter-spacing: 0.5px;
}



/* ==========================================================================
    5. Custom Textures
    ========================================================================== */
.t-carbon {
    background: 
        linear-gradient(45deg, #0D0E12 25%, transparent 25%) -3px 0,
        linear-gradient(-45deg, #0D0E12 25%, transparent 25%) -3px 0,
        linear-gradient(45deg, transparent 75%, #191B24 75%),
        linear-gradient(-45deg, transparent 75%, #191B24 75%);
    background-size: 6px 6px;
    background-color: #111218;
}

.card:hover .t-carbon {
    background-color: #151722;
}









/* 模态框遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.modal-close-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-box {
    background: #12151e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-overlay:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-close {
    position: absolute;
    color: #a0a5b5;
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--neon-blue);
}








/* ========================================
   MOBILE TOPBAR & NAVIGATION
======================================== */


/* 手机屏幕 */
@media (max-width: 768px) {

    /* 顶部栏 */
    .topbar {
        width: 94%;
        max-width: none;
    }

    .topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        gap: 8px;
    }

    /* 左侧 Logo */
    .topbar-logo {
        flex-shrink: 0;
    }

    .logo-text {
          display: none;
    }

    .logo-icon {
        width: 27px;
        height: 27px;
    }

    /* 右侧社交图标 + 汉堡菜单 */
    .topbar-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        min-width: 0;
        flex-shrink: 0;
    }

    /* 四个社交图标 */
    #js-social-box {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    #js-social-box a {
        width: 27px;
        height: 27px;
    }

    #js-social-box a svg {
        width: 14px;
        height: 14px;
    }

    /* 汉堡按钮 */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 34px;
        height: 34px;

        padding: 0;
        border: none;
        background: transparent;

        color: #F7F5F5;
        font-size: 21px;
        cursor: pointer;
    }

    .mobile-menu-toggle:hover {
        color: var(--color-gold);
    }


    /* 隐藏原来的横向导航 */
    .topbar-nav {
        display: none;
        position: absolute;

        top: 100%;
        left: 0;
        width: 100%;

        box-sizing: border-box;
        padding: 12px 18px 18px;

        background: rgba(15, 17, 21, 0.98);
        backdrop-filter: blur(14px);

        border: 1px solid rgba(255,255,255,0.1);
        border-top: none;
        border-radius: 0 0 12px 12px;

        z-index: 1100;
    }

    /* 点击汉堡按钮后显示 */
    .topbar.menu-open .topbar-nav {
        display: block;
    }

    /* 主导航改为纵向排列 */
    .topbar-nav > ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .topbar-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .topbar-nav > ul > li:last-child {
        border-bottom: none;
    }

    .topbar-nav ul li a {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
        padding: 13px 8px;
        font-size: 14px;
    }

    /* Products 子分类：手机上直接展开 */
    .topbar-nav .products-dropdown {
        display: flex;
        position: static;

        width: 100%;
        min-width: 0;

        padding: 0 0 8px 20px;
        margin: 0;

        flex-direction: column;
        gap: 0;

        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .topbar-nav .products-dropdown li a {
        padding: 10px 12px;
        font-size: 13px;
        color: #A0A5B5;
    }

    /* 手机端不需要下拉箭头旋转 */
    .topbar-nav .dropdown-arrow {
        margin-left: 5px;
    }

    /* 当前页面底线调整 */
    .topbar-nav ul li a.active::after {
        left: 8px;
        right: auto;
        width: 24px;
        bottom: 5px;
    }
}


