/* 自定义字体 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 隐藏滚动条 */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* 玻璃拟态效果 */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(124, 58, 237, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #7C3AED 0%, #10B981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 悬停动效 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* 自定义按钮 */
.btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid #7C3AED;
    color: #7C3AED;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #7C3AED;
    color: white;
}

/* 导航链接动效 */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7C3AED 0%, #10B981 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 品牌卡片 */
.brand-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-card:hover {
    border-color: #7C3AED;
    box-shadow: 0 20px 30px -10px rgba(124, 58, 237, 0.1);
}

/* 机型网格 */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7C3AED 0%, #10B981 100%);
    border-radius: 4px;
}

/* 加载动画 */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 响应式调整 */
@@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}