/* 隐藏滚动条但保持功能 */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* 全局样式 */
body {
    background-color: #111827;
    color: #F9FAFB;
}

/* 玻璃拟态效果 */
.glass-effect {
    background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
}

/* 图标颜色 */
.icon-primary {
    filter: brightness(0) saturate(100%) invert(76%) sepia(71%) saturate(481%) hue-rotate(93deg) brightness(87%) contrast(87%);
}

.icon-secondary {
    filter: brightness(0) saturate(100%) invert(76%) sepia(71%) saturate(481%) hue-rotate(93deg) brightness(87%) contrast(87%);
}

/* 科技感字体 */
.tech-font {
    font-family: 'Orbitron', sans-serif;
}

.modern-font {
    font-family: 'Space Grotesk', sans-serif;
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #10B981 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 动态背景 */
.hero-bg {
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(17, 24, 39, 0) 100%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 装饰元素 */
.dot-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.accent-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10B981, transparent);
    width: 200px;
}

.accent-line.top {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.accent-line.bottom {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

/* 特殊文字效果 */
.highlight-text {
    color: #10B981;
    position: relative;
    z-index: 2;
}

/* 装饰元素 */
.decorative-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.decor-1 {
    width: 300px;
    height: 300px;
    top: 30%;
    left: 20%;
    transform: translate(-50%, -50%);
}

.decor-2 {
    width: 250px;
    height: 250px;
    bottom: 30%;
    right: 20%;
    transform: translate(50%, 50%);
}

/* 按钮悬停效果 */
.hover\:bg-primary\/90:hover {
    background-color: rgba(16, 185, 129, 0.9);
}

.hover\:bg-primary\/10:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

/* 导航栏样式 */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    color: #9CA3AF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #10B981;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #10B981;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-link {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
    color: #9CA3AF;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.05);
}

/* 菜单按钮样式 */
.menu-button {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: rgba(16, 185, 129, 0.1);
}

.menu-button img {
    transition: transform 0.3s ease;
}

.menu-button:hover img {
    transform: scale(1.1);
} 