/* 基础样式 */
body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0f172a;
    padding: 1rem;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-links .active {
    color: #60a5fa;
    border-bottom: 2px solid #60a5fa;
}

/* 内容区域 */
.content-wrapper {
    max-width: 1200px;
    margin: 6rem auto 2rem; /* 调整顶部间距适配导航栏高度 */
    padding: 2rem 2rem 2rem 4rem; /* 添加左内边距 */
    min-height: calc(100vh - 10rem); /* 确保内容区域撑满页面高度 */
}

/* 科技感卡片 */
.cyber-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.75rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.neon-title {
    font-size: 3rem; /* 放大字体 */
    background: linear-gradient(45deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
}

/* 新增服务案例卡片样式 */
.case-card {
    @apply bg-gray-700/30 rounded-xl overflow-hidden transition-all duration-300;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 85, 106, 0.5);
    transition: all 0.3s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.case-card:hover {
    @apply bg-gray-700/50;
    transform: scale(1.03) translateZ(0);
    box-shadow: 0 10px 15px -3px rgba(76, 81, 191, 0.1), 0 4px 6px -4px rgba(76, 81, 191, 0.1);
}

.tech-stack {
    @apply flex flex-wrap gap-2 mt-4;
}

.stack-item {
    @apply px-3 py-1 text-sm rounded-full bg-blue-500/20 text-blue-400;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    margin-top: auto; /* 使页脚始终保持在底部 */
}

.footer p {
    @apply mb-2;
}

/* 移动端菜单激活状态 */
.active-link {
    color: #60a5fa !important;
    font-weight: 500;
}
