/* iPhone 15 外观样式 */
.iphone-container {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 47px;
    padding: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.iphone-frame {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 39px;
    overflow: hidden;
    position: relative;
}

/* 状态栏 */
.status-bar {
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.status-left .time {
    font-weight: 700;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 主内容区域 */
.main-content {
    height: calc(100% - 44px - 83px);
    background: #f8fafc;
}

.content-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* 底部导航栏 */
.bottom-nav {
    height: 83px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
}

.nav-item i {
    font-size: 20px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item.active {
    background: rgba(99, 102, 241, 0.1);
}

.nav-item.active i,
.nav-item.active span {
    color: #6366f1;
}

/* 通用样式 */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.bounce {
    animation: bounce 1s;
}

/* 响应式设计 */
@media (max-width: 400px) {
    .iphone-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 0;
    }
    
    .iphone-frame {
        border-radius: 0;
    }
} 