/* 自定义样式 */
.iphone-container {
    position: relative;
    overflow: hidden;
}

.notch {
    position: relative;
    z-index: 10;
}

.screen {
    position: relative;
    z-index: 1;
}

.bottom-nav {
    position: relative;
    z-index: 2;
}

.nav-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.active-nav {
    position: relative;
}

.active-nav::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #3b82f6;
    border-radius: 50%;
}

/* 导航链接样式 */
.nav-link {
    @apply text-gray-600 hover:text-blue-600 transition-colors duration-200;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

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

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

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

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* 卡片悬停效果 */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 按钮点击效果 */
.btn-click {
    transition: all 0.2s ease;
}

.btn-click:active {
    transform: scale(0.95);
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* 毛玻璃效果 */
.blur-bg {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 自定义阴影 */
.custom-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .max-w-7xl {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-link {
        @apply text-sm;
    }
}

@media (max-width: 640px) {
    .iphone-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
} 