/* 全局样式重置，去除浏览器默认间距，让滚动更干净 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            background-color: #f5f7fa;
            color: #1e293b;
            line-height: 1.6;
        }

        /* 简洁现代FORM样式 */
       
        /* 表单容器 */
        .form-container {
            background: white;
            padding: 32px;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            width: 320px;
        }

        /* 现代编辑框样式 */
        .modern-input {
            width: 100%;
            padding: 12px 16px;
            font-size: 16px;
            font-family: inherit;
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            background-color: white;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        /* 悬停效果 */
        .modern-input:hover {
            border-color: #cbd5e1;
        }

        /* 聚焦效果 */
        .modern-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        /* 占位符样式 */
        .modern-input::placeholder {
            color: #94a3b8;
            font-size: 14px;
        }

        /* 提交按钮 */
        .btn-submit {
            width: 120px;
            margin-top: 20px;
            padding: 12px;
            background-color: #3b82f6;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .btn-submit:hover {
            background-color: #2563eb;
        }

        .btn-submit:active {
            transform: scale(0.98);
        }

        /* 标签样式 */
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #1e293b;
            font-size: 14px;
        }

         /* 现代下拉框样式 */
        .modern-select {
            width: 100%;
            padding: 12px 16px;
            font-size: 16px;
            font-family: inherit;
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            background-color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            box-sizing: border-box;
            /* 自定义下拉箭头 */
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 16px;
        }

        .modern-select:hover {
            border-color: #cbd5e1;
        }

        .modern-select:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        /* 下拉框选项样式 */
        .modern-select option {
            padding: 10px;
            font-size: 14px;
        }

        /* ----- 基础隐藏原生radio，自定义样式 ----- */
        .radio-modern {
            position: relative;
            display: inline-flex;
            align-items: center;
            cursor: pointer;
            font-size: 1rem;
            user-select: none;
            gap: 0.6rem;
            font-weight: 500;
            color: #1e293b;
            transition: color 0.2s;
        }

        .radio-modern input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
            margin: 0;
        }

        /* 自定义圆框 */
        .radio-custom {
            position: relative;
            display: inline-block;
            width: 1.3rem;
            height: 1.3rem;
            border-radius: 50%;
            border: 2px solid #cbd5e1;
            background: white;
            transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            box-shadow: 0 1px 2px rgba(0,0,0,0.02);
        }

        .radio-custom::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 0.65rem;
            height: 0.65rem;
            border-radius: 50%;
            background: white;
            transition: transform 0.18s ease-out;
        }

        /* 选中状态 */
        .radio-modern input:checked + .radio-custom {
            border-color: #3b82f6;
            background: #3b82f6;
            box-shadow: 0 2px 8px rgba(59,130,246,0.3);
        }

        .radio-modern input:checked + .radio-custom::after {
            transform: translate(-50%, -50%) scale(1);
        }

        /* 聚焦 & 悬停提升体验 */
        .radio-modern:hover .radio-custom {
            border-color: #94a3b8;
            transform: scale(1.02);
        }

        .radio-modern input:focus-visible + .radio-custom {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
        }

        /* 禁用样式 */
        .radio-modern.disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* 风格 2 —— 阴影内发光 & 更大波纹感 */
        .style-glow input:checked + .radio-custom {
            border-color: #8b5cf6;
            background: #8b5cf6;
            box-shadow: 0 0 0 3px rgba(139,92,246,0.2), 0 2px 8px rgba(139,92,246,0.3);
        }

        /* 风格 3 —— 简约微缩，细线现代 */
        .style-minimal .radio-custom {
            border-width: 1.5px;
            background: transparent;
            width: 1.2rem;
            height: 1.2rem;
        }
        .style-minimal .radio-custom::after {
            width: 0.55rem;
            height: 0.55rem;
        }
        .style-minimal input:checked + .radio-custom {
            border-color: #059669;
            background: #059669;
        }

        /* 风格 4 —— 动态脉冲+霓虹 */
        .style-pulse input:checked + .radio-custom {
            border-color: #ec489a;
            background: #ec489a;
            animation: pulse-ring 0.35s ease-out;
        }
        @keyframes pulse-ring {
            0% {
                box-shadow: 0 0 0 0 rgba(236,72,153,0.4);
            }
            100% {
                box-shadow: 0 0 0 6px rgba(236,72,153,0);
            }
        }


        /* ===== 固定顶部导航栏 ===== */
       
        .navbar {
            position: fixed;        /* 固定定位，相对于视口 */
            top: 0;                 /* 紧贴顶部 */
            left: 0;
            width: 100%;            /* 横跨整个视口宽度 */
            background-color: #fff;
            color: white;
            padding: 0.8rem 2rem;
            display: flex;
            align-items: center;
            justify-content: center; /* 桌面端居中 */
            gap: 3rem;
            flex-wrap: wrap;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            font-weight: 500;
            
            transition: background-color 0.3s ease, opacity 0.3s ease;
        }

        

      


       
        .foot_menu
        {
            width:180px;
            float:left;
        } 
        .foot_menuitem
        {
            float:left;
            width:180px;
            height:200px;
        }
        .blankfooter
        {
            display: none;
        }

        /* 屏幕宽度 ≤ 768px 时（平板） 隐藏部分底部菜单和左侧栏*/
        @media (max-width: 768px) {
           
            body .content_left,               
            body .foot_menu,
            body .foot_menuitem
            
            {
                display: none;
            }
               
            body .blankfooter
            {
                display: block;
            }
          
        }
            
        

       
        /* 滚动后 - 半透明背景 */
        .navbar.scrolled {
            background-color: rgba(0, 0, 0, 0.8);
            opacity: 0.8;
        }
        .navbar:hover {
            opacity: 1;  /* 悬停时完全不透明 */
        }

        /* 导航栏左侧品牌/logo区域 */
        .logo a {
            color: white;
            font-size: 1.7rem;
            font-weight: 700;
            text-decoration: none;
            letter-spacing: 1px;
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* 导航链接列表 */
        .nav-links {
            display: flex;
            gap: 1.8rem;            /* 链接间距 */
            list-style: none;
        }

        .nav-links li a {
            color: #8ebbf6;
            text-decoration: none;
            font-size: 1.1rem;
            padding: 0.5rem 0.2rem;
            border-bottom: 2px solid transparent;
            transition: border-color 0.2s, color 0.2s;
        }

        .nav-links li a:hover {
            color: white;
            border-bottom-color: #fbbf24; /* 悬停时金色下划线 */
        }

        /* 右侧辅助按钮（示例） */
        .user-actions {
            display: flex;
            gap: 0.8rem;
        }

        .user-actions button {
            background: transparent;
            border: 1px solid #475569;
            color: #e2e8f0;
            padding: 0.4rem 1.2rem;
            border-radius: 30px;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .user-actions button:hover {
            background-color: #fbbf24;
            border-color: #fbbf24;
            color: #0f172a;
            font-weight: 600;
        }

        /* 由于导航栏固定，它会遮盖页面顶部内容。
           给主体内容设置上内边距，腾出导航栏的高度 (导航栏高度约 70px，但不同浏览器可能有差异，多留一点保险) */
        .content {
            margin-top: 10px;        /* 导航栏固定占据的高度 + 一点额外空间 */
            max-width: 1200px;
            padding: 1.5rem 2rem 4rem;
            margin-left: 10px;
            margin-right: auto;
            background-color: white;
            border-radius: 24px 24px 0 0;  /* 上方圆角，与固定栏形成层次 */
            box-shadow: 0 -4px 12px rgba(0,0,0,0.02);
        }

        /* 为了演示滚动，加入一些占位区块 */
        .section-block {
            background-color: #f8fafc;
            border-radius: 24px;
            padding: 2rem;
            margin-bottom: 2.5rem;
            border-left: 6px solid #0f172a;
            box-shadow: 0 8px 20px rgba(0,0,0,0.02);
        }

        .section-block h2 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #0f172a;
            border-bottom: 2px dashed #cbd5e1;
            padding-bottom: 0.5rem;
        }

        .section-block p {
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        /* 卡片风格的额外滚动内容 */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #e9eef2;
        }

        .card h3 {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #1e293b;
        }

        /* 一个回到顶部的辅助按钮（视觉上不干扰固定栏） */
        .dummy-footer {
            text-align: center;
            margin-top: 3rem;
            color: #64748b;
            font-size: 0.95rem;
        }

       

        /* 选中页面内锚点时平滑滚动（可选，体验更好） */
        html {
            scroll-behavior: smooth;
        }

/* 新版卡片式菜单风格 2026.3.29 */

         /* 导航容器 - 卡片风格 */
        .mega-nav {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            
            border-radius: 0.5rem;
            box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
            padding: 0.5rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            
        }
        
        .nav-list {
            display: flex;
            list-style: none;
            gap: 0.5rem;
        }

        /* 菜单项 */
        .nav-item {
            position: relative;
        }

        .nav-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: transparent;
            border: none;
            font-size: 0.85rem;
            font-weight: 500;
            color: #1e293b;
            cursor: pointer;
            border-radius: 0.75rem;
            transition: all 0.2s ease;
            font-family: inherit;
            white-space: nowrap;
        }

        .nav-btn:hover {
           background: rgba(175, 218, 244, 0.8);
            color: #f60;
        }

        .arrow {
            font-size: 0.7rem;
            transition: transform 0.2s;
            color: #3b82f6; 
        }

        .nav-item:hover .arrow {
            transform: rotate(180deg);
            color: #f6893b;
             
        }

        /* ========== 二级菜单面板（卡片风格） ========== */
        .dropdown-card {
            position: absolute;
            top: calc(100% + 0.75rem);
            left: 0;
            min-width: 220px;
            background: rgba(255, 255, 255, 0.8); /* 白色背景，95%不透明度 */
            border-radius: 1rem;
            box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.15);
            
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
            padding: 0.5rem 0;
            border: 1px solid #f0f0f0;
            opacity: 0; 
        }

        .nav-item:hover .dropdown-card {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            
        }
       
        /* 二级菜单项 */
        .dropdown-item {
            position: relative;
        }

        .dropdown-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.7rem 1rem;
            color: #334155;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.15s;
            margin: 0.2rem 0.5rem;
            border-radius: 0.5rem;
        }

        .dropdown-link:hover {
           background: rgba(175, 218, 244, 0.6);
            color: #eca751;
        }
       

        /* 三级菜单指示器 */
        .has-submenu::after {
            content: "\25B6";
            font-size: 0.7rem;
            color: #94a3b8;
            margin-left: 0.5rem;
        }

        /* ========== 三级菜单 ========== */
        .submenu-card {
            position: absolute;
            top: -0.5rem;
            left: calc(100% - 0.5rem);
            min-width: 200px;
             background: rgba(255, 255, 255, 0.8); /* 白色背景，95%不透明度 */
            border-radius: 1rem;
            box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.12);
           
            visibility: hidden;
            transform: translateX(-8px);
            transition: all 0.2s ease;
            padding: 0.5rem 0;
            border: 1px solid #f0f0f0;
            opacity: 0; 
        }

        .dropdown-item:hover .submenu-card {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        /* 三级菜单链接 */
        .submenu-link {
            display: block;
            padding: 0.6rem 1rem;
            color: #475569;
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.15s;
            margin: 0.2rem 0.5rem;
            border-radius: 0.5rem;
        }

        .submenu-link:hover {
            background: rgba(175, 218, 244, 0.6);
            color: #f60;
            transform: translateX(4px);
        }

        /* 分割线 */
        .divider {
            height: 1px;
            background: #e2e8f0;
            margin: 0.5rem 0.5rem;
        }

        /* 图标样式 */
        .menu-icon {
            margin-right: 0.5rem;
            font-size: 1rem;
        }

        /* 分组标题（可选） */
        .menu-section-title {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            padding: 0.5rem 1rem 0.2rem;
            font-weight: 600;
        }

         /* ===== 手机版响应式调整 ===== */
@media (max-width: 768px) {
    .navbar {       
        display: flex;   
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        min-height: auto;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo a {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .user-actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.3rem;
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .user-actions button {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    /* 关键修改：mega-nav 不设置 overflow */
    .mega-nav {
        order: 3;
        width: 100%;
        overflow: visible;  /* 改为 visible */
        
    }
    
    /* 把横向滚动移到 nav-list 上 */
    .nav-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.2rem;
        justify-content: flex-start;
        /*overflow-x: auto;  /* 滚动条在这里 */
        -webkit-overflow-scrolling: touch;
       /* padding-bottom: 0.8rem;  /* 给下拉菜单留空间 */
    }
    
    /* 隐藏滚动条 */
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .nav-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .nav-links li {
        flex: 0 0 auto;
    }
    
    /* 确保下拉菜单不被裁剪 */
    .dropdown-card {
        z-index: 1001;
    }
    
    .content {
        margin-top: 100px;
    }
}