* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
    color: #1d1d1f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-title h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.ios-tutorial {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ios-tutorial h2 {
    font-size: 20px;
    margin: 0;
}

.ios-tutorial p {
    color: #86868b;
    font-size: 14px;
    cursor: pointer;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.app-item:hover {
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 122, 255, 0.2);
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    overflow: hidden;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.app-desc {
    color: #86868b;
    font-size: 14px;
    line-height: 1.5;
}

.app-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.status-tag {
    background: #ff3b30;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.recommend-btn {
    background: #34c759;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recommend-btn:hover {
    background: #30d158;
    transform: translateY(-1px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
    animation: modalIn 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    color: #1d1d1f;
    font-size: 20px;
}

.modal-body {
    padding: 30px 20px;
}

.install-image {
    text-align: center;
    margin-bottom: 20px;
}

.install-image img {
    max-width: 100%;
    border-radius: 10px;
}

.modal-description {
    text-align: center;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 10px;
}

.modal-description p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.install-steps {
    text-align: center;
}

.install-steps p {
    color: #86868b;
    font-size: 14px;
    line-height: 1.8;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-cancel, .btn-confirm {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f5f5f7;
    color: #1d1d1f;
}

.btn-cancel:hover {
    background: #e8e8ed;
}

.btn-confirm {
    background: #007aff;
    color: #fff;
}

.btn-confirm:hover {
    background: #0066cc;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .app-item {
        padding: 15px;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .app-name {
        font-size: 16px;
    }
}