/* iPhone 15 样式模拟 */
.iphone-container {
    position: relative;
    width: 375px;
    height: 812px;
    background-color: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
}

/* 顶部刘海 */
.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background-color: #000;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

/* 主内容区域 */
.content-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    overflow: hidden;
}

/* 底部导航栏 */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.3s;
    width: 25%;
    height: 100%;
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #4F46E5; /* Indigo-600 */
}

/* 通用样式 */
.app-header {
    background-color: #4F46E5; /* Indigo-600 */
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 5;
}

.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #4F46E5; /* Indigo-600 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1F2937; /* Gray-800 */
}