/* 重置样式 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh; /* 设置为视窗高度 */
    margin: 0;
    padding: 0;
}

/* 头部样式 - 科技风格优化 */
header {
    background: linear-gradient(135deg, #231c1a 0%, #2a2a3e 50%, #1a1a2e 100%);
    color: white;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-logo {
    display: flex;
    align-items: center;
}

header h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    font-weight: 600;
}

header h1::before {
    content: '\f201'; /* Font Awesome chart-line icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 28px;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    animation: lifecycleGlow 2s ease-in-out infinite alternate;
}

@keyframes lifecycleGlow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                     0 0 30px rgba(0, 212, 255, 0.6),
                     0 0 40px rgba(0, 212, 255, 0.4);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 1),
                     0 0 40px rgba(0, 212, 255, 0.8),
                     0 0 50px rgba(0, 212, 255, 0.6);
    }
}

header ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

header li {
    display: inline;
}

header a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

header a:hover {
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 5px;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
header .current{
    color: #00d4ff !important; 
}

/* 用户信息样式 */
.user-info {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#currentUser {
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
}

#logoutBtn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 5px;
    transition: all 0.2s ease;
}

#logoutBtn:hover {
    color: #ff6b6b;
}

/* 移动端菜单按钮 */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-button:hover {
    opacity: 0.8;
}

/* 主要内容区域 */
main {
    background-color: white;
    padding-top: 80px;
    min-height: calc(100vh - 80px - 120px); /* 视窗高度 - 头部高度 - 页脚高度 */
    display: flex;
    flex-direction: column;
}

.news{
    padding: 15px 20px;
    height: auto;
    min-height: 50px;
    background: linear-gradient(90deg, #231c1a 0%, #2a2a3e 50%, #231c1a 100%);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.news p{
    color: #00d4ff;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    font-weight: 500;
}

/* 新的左右布局 */
.main-container {
    display: flex;
    min-height: calc(100vh - 160px);
    margin-top: 50px; /* 为新闻区域留出空间 */
}

/* 左侧边栏样式 */
.sidebar {
    width: 280px;
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
    padding: 20px 0;
    overflow-y: auto;
    flex-shrink: 0;
    max-height: calc(100vh - 130px);
    transition: transform 0.3s ease, width 0.3s ease;
}

/* 侧边栏隐藏状态 */
.sidebar.collapsed {
    transform: translateX(-280px);
    width: 0;
}

/* 侧边栏切换按钮 */
.sidebar-toggle {
    position: fixed;
    left: 280px;
    top: 150px; /* 调整按钮位置，避开新闻区域 */
    background-color: #485652;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar-toggle.collapsed {
    left: 0;
}

/* 自定义滚动条样式 */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section h3 {
    padding: 10px 20px;
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.sidebar-group {
    margin: 10px 0;
}

.sidebar-group h4 {
    padding: 5px 20px;
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 8px 20px 8px 30px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar li:hover {
    background-color: #e9e9e9;
    border-left-color: #485652;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 0.95rem;
}

.sidebar .customer {
    font-weight: bold;
    color: #555;
    padding: 8px 20px 8px 30px;
}

/* 右侧内容区域样式 */
.content-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    transition: margin-left 0.3s ease;
}

/* 侧边栏隐藏时的内容区域样式 */
.sidebar.collapsed + .content-area {
    margin-left: 0;
}

.welcome-message {
    text-align: center;
    padding: 40px 20px;
}

.content-placeholder {
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.content-logo {
    width: 100px;
    margin-bottom: 20px;
}

/* 历史记录页面样式 */
.history-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.version-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.version-item:last-child {
    border-bottom: none;
}

.version-item.highlight {
    background-color: #f0f7ff;
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #485652;
}

.none{
    color: gray;
}

.cost {
    color: red;
}

/* 活动链接样式 */
.sidebar a.active {
    font-weight: bold;
    color: #485652;
}

.sidebar li:has(a.active) {
    background-color: #e9e9e9;
    border-left-color: #485652;
}

/* 动态内容样式 */
.dynamic-content {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

.dynamic-content h2 {
    color: #485652;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* iframe样式 */
.content-iframe {
    width: 100%;
    height: calc(100vh - 180px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 加载指示器样式 */
.loading-content {
    text-align: center;
    padding: 40px 20px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #485652;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 不可用功能提示 */
.unavailable-notice {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    border-radius: 4px;
}

h2 {
    margin-bottom: 1rem;
}

h3 {
    margin: 1rem 0;
    font-size: 1.2rem;
}

/* 更多信息区域 - 科技风格优化 */
.more {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0c0c0c 100%);
    padding: 30px 20px; /* 减少垂直间距 */
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    margin-top: 0; /* 确保无上间距 */
}

.more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.more-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.more h3 {
    color: #ffffff;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.more-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.more-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.more-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.more-item:hover::before {
    left: 100%;
}

.more-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2),
                0 0 20px rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.more-item i {
    font-size: 24px;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.more-item:hover i {
    color: #ffffff;
    text-shadow: 0 0 15px #00d4ff;
    transform: scale(1.1);
}

.more-item span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.more-item:hover span {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* 页脚样式 - 科技风格优化 */
footer {
    background: linear-gradient(135deg, #231c1a 0%, #2a2a3e 50%, #1a1a2e 100%);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.visit-counter {
    margin-top: 10px;
    color: #00d4ff;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px;
        position: relative;
    }
    
    header h1 {
        font-size: 20px;
        padding-left: 60px;
        background-size: 40px;
    }
    
    .mobile-menu-button {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    #nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        background: linear-gradient(135deg, #231c1a 0%, #2a2a3e 50%, #1a1a2e 100%);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        padding: 10px 0;
        z-index: 1000;
        position: absolute;
        top: 100%;
        left: 0;
    }
    
    #nav-menu.active {
        display: flex;
    }
    
    #nav-menu li {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    #nav-menu li:first-child {
        border-top: none;
    }
    
    #nav-menu a {
        color: #ffffff;
        text-decoration: none;
        display: block;
        padding: 8px 0;
        transition: all 0.3s ease;
    }
    
    #nav-menu a:hover,
    #nav-menu a.current {
        color: #00d4ff;
        background: rgba(0, 212, 255, 0.1);
    }
    
    .user-info {
        margin: 10px 0 0 0;
        justify-content: center;
        width: 100%;
    }
    
    main {
        padding-top: 60px;
    }
    
    .sidebar {
        position: fixed;
        left: -280px;
        top: 60px;
        height: calc(100vh - 60px);
        z-index: 900;
        transition: left 0.3s ease;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-toggle {
        display: none;
    }
    
    .content-area {
        width: 100%;
        margin-left: 0;
    }
}

/* 新增：水平布局样式 - 统一科技风格 */
.horizontal-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(180deg, #16213e 0%, #0c0c0c 100%);
    min-height: calc(100vh - 80px - 120px); /* 充满可用空间 */
    padding-bottom: 0;
    flex: 1; /* 让其填满main中的剩余空间 */
}

.welcome-message {
    text-align: center;
    padding: 30px 20px; /* 减少垂直间距 */
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.welcome-message h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    font-weight: 600;
}

.welcome-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

.sections-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 30px 20px 20px 20px; /* 减少底部间距 */
}

.section-column {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #00d4ff);
    background-size: 200% 100%;
    animation: borderGlow 3s ease-in-out infinite;
}

.section-column:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.3);
}

.section-column h3 {
    padding: 0 0 15px 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.section-column .sidebar-group h4 {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-column .sidebar-group h4::before {
    content: '▶';
    color: #00d4ff;
    font-size: 12px;
}

.section-column ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.section-column li {
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 25px;
}

.section-column li::before {
    content: '▸';
    position: absolute;
    left: 8px;
    color: #00d4ff;
    font-size: 10px;
    transition: all 0.2s ease;
}

.section-column li:hover {
    background: rgba(0, 212, 255, 0.1);
    padding-left: 30px;
}

.section-column li:hover::before {
    color: #ffffff;
    transform: translateX(3px);
}

.section-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.2s ease;
    display: block;
}

.section-column a:hover {
    color: #00d4ff;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.section-column .customer {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 14px;
}

.section-column .cost {
    color: #ff9f43;
}

.section-column .new {
    color: #26de81;
}

.content-placeholder {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    text-align: center;
}

.content-logo {
    width: 80px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* 响应式设计 - 统一科技风格 */
@media (max-width: 992px) {
    .section-column {
        flex: 0 0 calc(50% - 20px);
        min-width: 280px;
    }
    
    .tech-nav {
        gap: 15px;
    }
    
    .tech-tab {
        min-width: 160px;
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    /* 992px以下时query-panel保持横排，但调整间距 */
    #query-panel .tech-grid {
        gap: 15px;
    }
    
    .welcome-message h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    body {
        height: 100vh; /* 移动端也保持视窗高度 */
    }
    
    main {
        min-height: calc(100vh - 60px - 100px); /* 调整移动端高度 */
    }
    
    .horizontal-layout {
        min-height: calc(100vh - 60px - 100px);
    }
    
    .section-column {
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .sections-container {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .tech-menu-section {
        padding: 20px 15px;
    }
    
    .tech-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tech-tab {
        min-width: 250px;
        font-size: 16px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-card {
        padding: 20px;
    }
    
    /* 移动端上 query-panel 改为垂直排列 */
    #query-panel .tech-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    #query-panel .tech-card {
        min-width: auto;
        flex: none;
    }
    
    /* 移动端上 manage-panel 也改为垂直排列 */
    #manage-panel .tech-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    #manage-panel .tech-card {
        min-width: auto;
        flex: none;
    }

    .welcome-message {
        padding: 30px 15px;
    }
    
    .welcome-message h2 {
        font-size: 1.6rem;
    }
    
    .news {
        padding: 15px;
    }
    
    .more {
        padding: 30px 15px;
    }
    
    .more-links {
        gap: 15px;
    }
    
    .more-item {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .more h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}

/* 科技风格菜单样式 */
.tech-menu-section {
    padding: 20px 20px 30px 20px;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    flex: 1; /* 让其在horizontal-layout中占据可用空间 */
    display: flex;
    flex-direction: column;
}

.tech-menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.tech-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    height: 100%; /* 充满父容器高度 */
    display: flex;
    flex-direction: column;
}

/* 科技风格导航标签 */
.tech-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px; /* 减少底部间距 */
    flex-wrap: wrap;
}

.tech-tab {
    position: relative;
    padding: 15px 25px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.tech-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.tech-tab:hover::before {
    left: 100%;
}

.tech-tab i {
    font-size: 18px;
    color: #00d4ff;
}

.tech-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2),
                0 0 20px rgba(0, 212, 255, 0.1);
}

.tech-tab.active {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 150, 255, 0.1) 100%);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.tech-tab.active i {
    color: #ffffff;
    text-shadow: 0 0 10px #00d4ff;
}

.tech-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.tech-tab:hover .tech-glow,
.tech-tab.active .tech-glow {
    opacity: 1;
}

/* 科技风格内容面板 */
.tech-content {
    position: relative;
    flex: 1; /* 填满剩余空间 */
    display: flex;
    flex-direction: column;
}

.tech-panel {
    display: none;
    animation: fadeInUp 0.5s ease-out;
    flex: 1; /* 填满容器高度 */
    overflow-y: auto; /* 内容过多时可滚动 */
}

.tech-panel.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
    flex: 1;
    align-content: start;
}

/* 专门针对query-panel的横排布局 */
#query-panel .tech-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    flex-wrap: nowrap;
}

#query-panel .tech-card {
    flex: 1;
    min-width: 0; /* 允许flex项目收缩 */
    max-width: none;
}

/* 专门针对manage-panel的横排布局 */
#manage-panel .tech-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    flex-wrap: nowrap;
}

#manage-panel .tech-card {
    flex: 1;
    min-width: 0; /* 允许flex项目收缩 */
    max-width: none;
}

/* 专门针对manage-panel的横排布局 */
#manage-panel .tech-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    flex-wrap: nowrap;
}

#manage-panel .tech-card {
    flex: 1;
    min-width: 0; /* 允许flex项目收缩 */
    max-width: none;
}

/* 科技风格卡片 */
.tech-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #00d4ff);
    background-size: 200% 100%;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: 0% 0; }
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.2);
}

.tech-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-card h4 i {
    color: #00d4ff;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tech-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-card li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    transition: all 0.2s ease;
}

.tech-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-size: 10px;
    transition: all 0.2s ease;
}

.tech-card li:hover::before {
    color: #ffffff;
    transform: translateX(3px);
}

.tech-card a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s ease;
    display: block;
    padding: 5px 0;
    border-radius: 5px;
}

.tech-card a:hover {
    color: #00d4ff;
    padding-left: 10px;
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tech-nav {
        gap: 15px;
    }
    
    .tech-tab {
        min-width: 160px;
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tech-menu-section {
        padding: 30px 15px;
    }
    
    .tech-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tech-tab {
        min-width: 250px;
        font-size: 16px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-card {
        padding: 20px;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}